I have now changed my script to an older one I done. Here's the script that has to run under cron. It checks if the dump is correctly done and if not, retires un til 10 attemptys are reached. This one does the same, cron runs, but no dump is created... ????
vmid=100
host=xxxxxxx...
Hi Marco,
I think that the problem is in calling the script from the cron and redirecting output to a file.
Th cron is called like that:
0 4 * * * /root/daily-backup.sh > /root/cron.log 2>&1
Could the redirection to a file be the cause?
There's no errors on system log
Hi,
I'm creating a cron job to make dumps of OpenVZ CT's. This cron must always export the same name: ex: vzdump-openvz-100.tar.lzo
Currently, this cron works on the terminal when manually launched, but when launched by cron it does not work. I believe that the problem is on the stdout param...
Hi naja7host,
I asked that on the mailing list as I have the same problem and I got the answer.
using the function above, you get an utf8 encoded string.
the treatment in php is with utf8_decode()
best
Hi Scriptman,
I asked that on the mailing list and I got the answer.
using the function above, you get an utf8 encoded string.
the treatment in php is with utf8_decode()
best
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.