Running a script though vesta cron
Posted: Tue Sep 09, 2014 11:10 am
Hello,
I have looked and not found many other threads mentioning cron.
I am using VesaCP with CentOS and wish to run a script to backup the backup folder to amazon s3 daily, the script works perfectly when i run it manually in the command line but when I add it to the Vesta cron it does not seem to work at all.
Am I doing something very basic wrong?
I have tried both:
sudo /home/admin/s3.sh
sudo bash /home/admin/s3.sh
Neither seems to be working via Vesta. Any help would be much appreciated.
I have looked and not found many other threads mentioning cron.
I am using VesaCP with CentOS and wish to run a script to backup the backup folder to amazon s3 daily, the script works perfectly when i run it manually in the command line but when I add it to the Vesta cron it does not seem to work at all.
Am I doing something very basic wrong?
I have tried both:
sudo /home/admin/s3.sh
sudo bash /home/admin/s3.sh
Neither seems to be working via Vesta. Any help would be much appreciated.