Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

ESXi 5 with ghetto and cron

$
0
0

Hello,

 

     I have configured in my cron the script to back up with ghetto, but i see an error in the syslog.

 

The cron config is:

 

40   17  *   *   *   /vmfs/volumes/4ee62529-1ca448a4-cbfb-0024e8624a07/lamw-ghettoVCB-518cef7/ghettoVCB.sh -f /vmfs/volumes/datastoreBkup/lamw-ghettoVCB-518cef7/vms_to_backup > /vmfs/volumes/datastoreBkup/ghetto-bk-$(date +%Y-%m-%d).log

 

The error that appear in syslog is:

 

~ # tail -f /var/log/syslog.log

2012-01-06T10:38:01Z crond[3858594]: failed user root parsing 17  *   *   *   /vmfs/volumes/4ee62529-1ca448a4-cbfb-0024e8624a07/lamw-ghettoVCB-518cef7/ghettoVCB.sh -f /vmfs/volumes/datastoreBkup/lamw-ghettoVCB-518cef7/vms_to_backup > /vmfs/volumes/datastoreBkup/ghetto-bk-$(date +%Y-%m-%d).log

 

I prove other binary in cron, for example i programe that make a file with touch. This command execute correcly in cron, but i can't do the same with ghetto. Some ideas?

 

Thanks.


Viewing all articles
Browse latest Browse all 175326

Trending Articles