create crontab

Mike Burger mburger at bubbanfriends.org
Wed Aug 31 12:28:10 UTC 2005


On Wed, August 31, 2005 1:31 am, Mad Unix wrote:
> I have mail-hots serving 300 users pop3/imap through qmail
> I manually remove old entries manually which older than 30 days
> for each user
> find /home/vpopmail/domains/sdcdom/user001/ -type f -mtime +30 -exec rm {}
> ";"
> find /home/vpopmail/domains/sdcdom/user002/ -type f -mtime +30 -exec rm {}
> ";"
> ...etc.
>  How can i add this entry into my crontab, to run at the end of the Week
> at
> 6 clock
> in the morning.
>  am using Linux RHEL 3
>  Thanks

If you "man crontab", you will probably get all the info you need.

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000

To be notified of updates to the web site, visit
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a
message to:

site-update-request at bubbanfriends.org

with a message of:

subscribe




More information about the redhat-list mailing list