We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Problem running a script in cronjob
Problem running a script in cronjob
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 !
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 !