logger for cron job
Cameron Simpson
cs at zip.com.au
Tue Apr 24 21:59:14 UTC 2007
On 24Apr2007 22:55, Thufir <hawat.thufir at gmail.com> wrote:
| I want to have output to know whether or not this cronjob tries to
| run, and, if so, what the result is. This is done through the logger?
| <http://code.google.com/p/feed-on-feeds/> itself seems to run fine,
| but I have to manually update the feeds.
|
| [root at localhost ~]# cat /etc/cron.hourly/feeds-on-feeds
| 50 * * * * /usr/local/bin/GET | http://minutillo.com/steve/fof/update-quiet.php
| [root at localhost ~]#
| [root at localhost ~]# date
| Tue Apr 24 22:52:00 BST 2007
| [root at localhost ~]#
You can always make the job do this:
50 * * * * date >>~/cronruns.log; /usr/local/bin/GET http://minutillo.com/steve/fof/update-quiet.php
Cheers,
--
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/
The only way to deal with bureaucrats is with stealth and sudden violence.
- UN Secretary General Boutros-Ghali, _New York Times_ 15oct93
More information about the fedora-list
mailing list