crond
Giuseppe Greco
giuseppe.greco at agamura.com
Wed Jan 5 13:40:05 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?
It does nothing... but don't worry, I've solved the problem
by invoking ifdown/ifup instead of adsl-stop/adsl-start.
I guess it is a permission issue...
j3d.
>
> Rich
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
----------------------------------------
Giuseppe Greco
::agamura::
phone: +41 (0)91 604 67 65
mobile: +41 (0)79 602 99 27
email: giuseppe.greco at agamura.com
web: www.agamura.com
----------------------------------------
More information about the users
mailing list