Running python conjob linux

- Posted in Python by

set cron _https://crontab.guru/

*/2 * * * * /usr/bin/python /home/souza/Documets/Listener/listener.py 

check:

root@ubuntu-14:~# service cron start
root@ubuntu-14:~# service cron status 

crontab -e Edit crontab file, or create one if it doesn’t already exist. crontab -l crontab list of cronjobs , display crontab file contents. crontab -r Remove your crontab file. crontab -v Display the last time you edited your crontab file. (This option is only available on a few systems.)

s _http://www.adminschoice.com/crontab-quick-reference s _https://stackoverflow.com/questions/8727935/execute-python-script-on-crontab

Tags: