On Wed, October 11, 2006 7:03 am, Mazhar wrote:
> Dear All,
>
> My Code is to ping a range of IP reading from a text file and if they are
> not reachable then just write the IP's to  a file. Regarding permissions i
> am running the same script using root previliges and i am able to run the
> script maually but it is failing if i write the script in cron like one
> below,
> 10 * * * * /scripts/xxxx.pl

I usually use "perl" just before it like this:

10 * * * * perl /scripts/xxxx.pl


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to