Running a script though vesta cron
Running a script though vesta cron
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.
Re: Running a script though vesta cron
Hi there,
I know this may seem silly but could you try just /home/admin/s3.sh
Thanks, Liam.
I know this may seem silly but could you try just /home/admin/s3.sh
Thanks, Liam.