Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Running a script though vesta cron

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
webidia
Posts: 1
Joined: Tue Sep 09, 2014 11:07 am

Running a script though vesta cron
  • Quote

Post by webidia » 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.
Top

M1LIAM
Posts: 15
Joined: Tue Jun 17, 2014 8:39 am

Re: Running a script though vesta cron
  • Quote

Post by M1LIAM » Thu Sep 11, 2014 7:25 am

Hi there,

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

Thanks, Liam.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password