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 Web Server
  • Search

Problem running a script in cronjob

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
jose
Posts: 21
Joined: Fri Dec 29, 2017 3:25 pm

Os: CentOS 6x
Web: nginx + php-fpm
Problem running a script in cronjob
  • Quote

Post by jose » Tue Mar 20, 2018 10:31 pm

IM GOING CRAZY!!!!!!!!!


Hi how its going. If u can help me a little bit i will apreciated.

I am in centos 7 with vestacp.

I am using a script, but only works when i use the command in ssh.

When i put a cronjob it runs the command but nothing happens.

I checked "nano /var/log/cron" and it ran the command

And in "/var/log/v-sync-backups-to-mega.log" nothing happens in this time. (but if i enter the command manually it works perfect)

I try the command in vesta with "/usr/local/vesta/bin/v-sync-backups-to-mega 25 200000"

and in /etc/crontab "20 10 * * * /usr/local/vesta/bin/v-sync-backups-to-mega 25 200000" and "20 10 * * * root /usr/local/vesta/bin/v-sync-backups-to-mega 25 200000" but nothing happens.


Thx !
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • 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
 

 

Login  •  Register

I forgot my password