# remember to give cron a sighup when updating this file
On Wed, 26 Mar 2003 19:44:14 +0000 Helder Miguel Rodrigues <[EMAIL PROTECTED]> wrote:
Im trying to use vixie crontab.
I started with /etc/init.d/vcron start and it starts sucefully. I add a logrotate.cron file into /etc/cron.daily and it doesnt run! So i think that was logrotate problem and I add a lol.cron to cron.hourly to see wahat happens, and doesn�t happen anything!
Any tips?
# crontab -l no crontab for root
my /etc/cron.hourly
#!/bin/sh
/bin/touch /var/log/AAAAAAAAAAAAAAAAAAAA.log
my /etc/cron.daily/logrotate.cron
#!/bin/sh
/usr/sbin/logrotate -m mail /etc/logrotate.conf
my /etc/crontab
# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
# for vixie cron
# remember to give cron a sighup when updating this file
#
# $Header: /home/cvsroot/gentoo-x86/sys-apps/vcron/files/crontab,v 1.2 2002/04/27 21:46:45 bangert Exp $
#
#
*/15 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons
0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
0 0 * * * root rm -f /var/spool/cron/lastrun/cron.daily
0 0 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
0 0 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
-- [EMAIL PROTECTED] mailing list
-- [EMAIL PROTECTED] mailing list
