crond

Rich Fearn rdf at o2.co.uk
Tue Jan 4 23:09:08 UTC 2005


> I've written the following script (named checkconn)
> to be executed every 5 minutes by crond:
...
> if [ $? -ne 0 ] ; then
>     `/sbin/adsl-stop`
>     `/sbin/adsl-start`
> fi
...
> Well, if I execute checkconn from the command line,
> it works as expected, while when checkconn is invoked
> by crond, it doesn't work...

What do you mean by "doesn't work"? Do you see any errors?

Rich




More information about the fedora-list mailing list