sudo /usr/bin/python /home/rava/mysqldump.py
I have this I set it to run every min, every hour, daily none of them work? any solution
command does run in bash not in crone
sudo /usr/bin/python /home/rava/mysqldump.py
I have this I set it to run every min, every hour, daily none of them work? any solution
command does run in bash not in crone
Don’t use sudo…
I tried that before sudo in older question it was suggested to add sudo since admin dont have permission beside all default crone have sudo I will try without sudo but I doubt it work
Login as root:
crontab -e
# run daily at midnight
0 0 * * * /usr/bin/python /home/rava/mysqldump.py
Users are not allowed to to use sudo and for the admin user it is only limited to v-scripts from Hestia
I would suggest moving /home/rava/mysqldump.py to /root/mysqldump.py personally
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.