Search found 2 matches
- Thu May 31, 2018 5:49 pm
- Forum: Scripting / API
- Topic: Cron Job failing with no TTY present
- Replies: 3
- Views: 124706
Re: Cron Job failing with no TTY present
I have found the solution to my troubles. It would seems the VestaCP runs commands in the web CP without the initial "." to indicate its an executable file. Correct command in the web VestaCP sudo /etc/scripts/backup-fullsystem.sh How you would expect it in crontab -e or from ssh, which does not wor...
- Mon May 28, 2018 2:45 pm
- Forum: Scripting / API
- Topic: Cron Job failing with no TTY present
- Replies: 3
- Views: 124706
Cron Job failing with no TTY present
I am working on a custom backup script that will move the vesta built backups to a remote windows server. I know its a little odd but its what I have. The share "/cifs" is mounting fine and accessible. I have built the script to check to make sure the mount is active and if not then mount the drive ...