Reputation: 205
I have a python script /var/www/html/dummy/a.py
under Ubuntu 14.04 server 32bit
My script updates my status on twitter every time the server is rebooted
The script in question has the right permissions for execution.
My crontab is as follows:
reboot / usr / bin / python /var/www/html/dummy/a.py > / dev / null
but ... but ... my script does not run
I see the following logs:
Mar 12 09:05:53 dumm cron[890]: (CRON) INFO (Running @reboot jobs)
Mar 12 09:05:53 dumm CRON[904]: (gri) CMD (python /var/www/html/dummy/bb.py >/dev/null)
Can someone help me to know because it does not run?
Let me know if I need to provide more information?
I managed to solve this myself - it is necessary in the script to insert the full path !
Upvotes: 0
Views: 101
Reputation: 205
SOLVED I managed to solve this myself - it is necessary in the script to insert the full path !
Upvotes: 1