can't add a default route from cron
Hi there,
I want to add a default route from cron and it doesn't work. I can't image why. Maybe there are some cron variables or something...??!!
1. crontab -e (as root)
* * * * * route add default gw X.12.12.1
or
* * * * * /root/s1
and s1 contains the command from above.
When I run the script manually it works, but not from cron.
Any help would be appreciated.
Thanks
|