Magicloud Magiclouds wrote:
Dear all,
   I have a crontab like this:

[EMAIL PROTECTED] # crontab -l
# m h  dom mon dow   command
*       0,12    *       *       *       root    /root/update.sh
[EMAIL PROTECTED] # more /root/update.sh
#!/bin/bash
apt-get update
apt-get upgrade -d
apt-get autoclean
apt-get autoremove
touch /root/update.sh
[EMAIL PROTECTED] # ls -l /root/update.sh
-rwxr-xr-x 1 root root 104 2007-07-19 09:01 /root/update.sh


   But it seems that the script have never been called.

Thanks.



Add an another line below this one. I once had that the last line wouldn't be executed. So put a # there or something.

Makaveli

http://www.hostingbrothers.nl/



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to