Hi Dean -
On 24 Feb 2004 08:18:17 -0800,
(E-Mail Removed) (Dean Schulze)
wrote:
>For some reason the cron ping doesn't have the same effect that a ping
>from the console does. The crontab ping entry is by the same user
>that I am logged in as when I do the ping from the console.
>
>Anyone have any suggestions? Why does a ping from the console have a
>different effect than a ping from cron.
I just set up my first cron stuff last night and found that a command
that worked from the console and wasn't working from cron was because
the command couldn't be found.
I had to add PATH=[path directories] to the crontab file. Apparently
without that the path is empty. As an alternative, you could put in
the full path with the ping command, e.g. /bin/ping [ping parameters]
(or whatever directory is correct for ping on your system).
This may not be your problem, but it's something to check.
--
Ken
http://www.ke9nr.net/