View Single Post
  #3   (View Single Post)  
Old 16th August 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Default

Quote:
Originally Posted by ivanatora View Post
I've set up a little script, written in Perl that keeps stats of ping timeous. I want to schedule it to run every 5 minutes.
This is my crontab:
Code:
*/5 * * * * /usr/bin/perl /home/ivanatora/dev/ping_stats.pl > /home/ivanatora/cronlog
The syntax isnt correct, perl should be replaced by an username:

Code:
*/5 * * * * ivanatora /home/ivanatora/dev/ping_stats.pl > /home/ivanatora/cronlog
__________________
The power of plain text? It can control an entire OS
Reply With Quote