|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
Cron does not seem to work with this crontab. Any ideas?
# run-parts # commands to execute every hour 01 * * * * root run-parts /etc/cron.hourly # commands to execute every day 02 4 * * * root run-parts /etc/cron.daily # commands to execute every week 22 4 * * 0 root run-parts /etc/cron.weekly commands to execute every month 42 4 1 * * root run-parts /etc/cron.monthly Also I deleted the cron logfile in var/log. How do I get cron to make/start a new one? Dale Cabell ***Email address deleted Trying to execute this script once a day #!/bin/sh HOST_NAME=`uname -n` if [ ! -e /var/lib/tripwire/${HOST_NAME}.twd ] ; then echo "**** Error: Tripwire database for ${HOST_NAME} not found. ** **" echo "**** Run "/etc/tripwire/twinstall.sh" and/or "tripwire --init". ** **" else test -f /etc/tripwire/tw.cfg && /usr/sbin/tripwire --check fi Works fine from command line /etc/cron.daily/tripwire-check Last edited by reborg; 07-28-2006 at 08:14 PM.. Reason: eamil address |
| Sponsored Links |
|
|
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cron not working | manna | UNIX for Dummies Questions & Answers | 1 | 01-10-2008 02:04 PM |
| Cron job not working | dkranes | UNIX for Dummies Questions & Answers | 5 | 10-26-2007 12:01 PM |
| Cron not working? | christo16 | UNIX for Dummies Questions & Answers | 5 | 03-09-2007 02:55 AM |
| Cron job not working | janavenki | Shell Programming and Scripting | 7 | 03-10-2004 12:36 PM |
| CRON - How to tell it's working? | jaffy1229 | UNIX for Dummies Questions & Answers | 7 | 04-15-2002 01:09 PM |