Running the command below opens a page on chrome
python3 -m webbrowser https://www.python.org
What I am trying to do is create a cronjob that runs every night. This cronjob will be on an ec2 instance and all I want it to do is "open" the given page. There are metrics that will be recorded when the page is opened and loaded.
Tried
0 0 * * * curl -s "https://www.python.org" > /dev/null 2>&1
and
0 0 * * * python3 -m webbrowser https://www.python.org
(although I am not sure how this is supposed to work on a machine without browser)
but both didn't work as expected.