i am running ubuntu 8.04.3 LTS and also seems to be affected by this
problem. It is a very strange bug indeed.
My script run fine manually.
Then I added it into the cron using crontab -e. Thing is, the script does get
executed but NOT completely. My script is as below :
#!/bin/bash
vpnip=$(ip addr show ppp0 | sed -n '3p' | awk '{ print $2 }' | cut -f 1
-d "/")
if [ "$vpnip" = "" ]; then
echo "down on $(date)" >> /var/log/vpn.log
/usr/bin/pon vpn1
fi
When the script does get executed in root's cron, the log file does get
entry created. But the "pon vpn1" does not get executed.
But when I run this exactly same script from crontab file itself : "32 *
* * * root /home/script.sh" the script works fine!!!
I am really stump.
--
root's crontab not running
https://bugs.launchpad.net/bugs/112355
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs