RE: [PEAR] Net_ping problems
| From: | Simon H | Date: | Wed, 16 Oct 2002 14:06:30 +0000 |
| Subject: | RE: [PEAR] Net_ping problems | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2506@lists.php.net to get a copy of this message | ||
Thanks for your help, but I'm not exactly sure what you mean. Could you provide
an example.
My crontab currently looks like:
*/15 * * * * /path/to/pinger.php
with the top of pinger.php looking like:
#!/usr/local/bin/php -q
<?php
...
Thanks again!
Best Regards
Simon H
> -----Original Message-----
> From: Ondrej Jombik [mailto:nepto@pobox.sk]
> Sent: Tuesday, October 15, 2002 11:55 PM
> To: pear-general@lists.php.net
> Subject: Re: [PEAR] Net_ping problems
>
>
>
> > > I'm using Net_Ping to monitor our customers ADSL connections,
> running a script
> > > in a crontab every 15 mins. The strange thing is the script runs
> fine from the
> > > commandline, but when run from crontab I get an email from
> crontab telling me:
> > heh, there is actually somebody using it :)
>
> Put appropriate PATH= directive into beginning of your crontab. I
> had similar problem on BSD-like system. It should work.
>
> =Nepto=
> ____________________________________________________________________________
> Ondrej 'Nepto' Jombik, perl -le '$_=1;(1x$_)!~/^(11+)\1+$/&&print
> while$_++'
>
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>