| Stein Arne Storslett 2005-09-21, 2:50 am |
| <ye_line@hotmail.com> wrote in <1127253541.696699.195960@g14g2000cwa.googlegroups.com>:
> I think the way I am asking is sth wrong. My problem is I edit the
> crontab by -e , and by -l , I find the task is list in the crontab,
> However I canot find the result of the crontab. My crontab is
> following:
>
> 50 15 12 * 2,4 /sbin/ping -c 100 -s 1000 www.yahoo.com >>
> $HOME/data/test_perl/try1.txt
>
> I supposed to find some data in the try1.txt. however , it is nothing
> in the file. SO I can check if the crontab is running according to the
> schedule. and how to verify that ? Thanks for any comments
Check your mail on the machine. /var/spool/mail/<user>
Check /var/log/cron
Redirect stderr to stdout: <command> 2>&1
--
Stein Arne
|