I just forgot  to chmod +s the file!

Thanks a lot,

Matt and Brett for the help!


Matt Tucker wrote:
-- Helder Miguel Rodrigues <[EMAIL PROTECTED]> spake thusly:

  
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!
    

Despite what others have said, you shouldn't need to HUP crond or
restart after adding files to these directories or editing them. The
note in /etc/crontab only applies to editing that file, which you
should never have to do.

However, you do need to make sure that the scripts in /etc/cron.* are
executable (chmod +x /etc/cron.daily/logrotate.cron).


  
my /etc/cron.hourly

# !/bin/sh

/bin/touch /var/log/AAAAAAAAAAAAAAAAAAAA.log
    

Just to clarify, /etc/cron.hourly should be a directory containing some
file (test.cron, for instance) which is a script.

  

-- [EMAIL PROTECTED] mailing list

Reply via email to