This question already has an answer here:
Am trying to create a cron job to open a web page at a scheduled time.
I have edited my cron using
crontab -e and append my job.
I wrote my job in a script like this:
I saved this script in my
However, when I edit my cron (
crontab -e), it saves the file as
After saving it successfully says installing new crontab.
I made my file script executable, but still failing to handle the job. I wanted the script to run at 14:30PM, so I added this line to my crontab:
30 14 * * * /home/flicker/open-web.sh
This is still failing to work please help. Here is my script below:
#!/bin/bash xdg-open https://www.google.com