I am using kubuntu 14.04. I have installed cron using sudo apt-get install cron, and then I created this file in IDLE, called
#!/usr/bin/env python import webbrowser webbrowser.open('http://eample.com')
I then typed
chmod +x openurl.py into the terminal to make the .py file excecutionable. If I type in
./openurl.py to the terminal, the script works.
then, using the kickoff application launcher I clicked system settings > task scheduler > new task > then I searched for the openurl.py file, and selected when I wanted it to run.
If I type
crontab -e into the terminal, this is displayed:
#openurl 21 21 * * * /home/craig/openurl.py # File generated by KCron the Thursday 29 Jan 2015 21:20.
And then I wait, and nothing happens. What am I doing wrong?