Profile
Achievement
pantuts's Recent SnippetsTagged python
- All /
« Prev 1 Next »
for Cron:
# run
$ crontab -e
# then add this
*/1 * * * * export DISPLAY=:0.0 && /home/username/path/to/script.py > /dev/null
# then save.
# This cron job will run every minute
0
1055
posted 10 years ago by pantuts