Page 1 of 1

Running a script though vesta cron

Posted: Tue Sep 09, 2014 11:10 am
by webidia

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/
sudo bash /home/admin/

Neither seems to be working via Vesta. Any help would be much appreciated.

Re: Running a script though vesta cron

Posted: Thu Sep 11, 2014 7:25 am
Hi there,

I know this may seem silly but could you try just /home/admin/

Thanks, Liam.