crontab
From: madunix (madunix_at_gmail.com)
Date: 09/29/05
- Next message: Ivan Marsh: "Re: Re: FC vs CentOS (or equiv)"
- Previous message: Tom: "Re: NFS Mount - RH7.3 Server - CentOS 4.1 Client"
- Next in thread: noi: "Re: crontab"
- Reply: noi: "Re: crontab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Sep 2005 06:52:37 -0700
I want to add the foolowing in a script to be run in crontab as root
can any one help to write the script.
0 22 * * * find /home/vpopmail/domains/sdc/thbk/ -type f -mtime +20
-exec rm {} ";"
0 22 * * * find /home/vpopmail/domains/sdc/uldc/ -type f -mtime +20
-exec rm {} ";"
0 22 * * * find /home/vpopmail/domains/sdc/zeic/ -type f -mtime +20
-exec rm {} ";"
0 22 * * * find /home/vpopmail/domains/sdc/aafi/ -type f -mtime +20
-exec rm {} ";"
0 22 * * * find /home/vpopmail/domains/sdc/aeiv/ -type f -mtime +20
-exec rm {} ";"
0 22 * * * find /home/vpopmail/domains/sdc/alfa/ -type f -mtime +20
-exec rm {} ";"
0 22 * * * find /home/vpopmail/domains/sdc/arin/ -type f -mtime +20
-exec rm {} ";"
0 22 * * * find /home/vpopmail/domains/sdc/exfb/ -type f -mtime +20
-exec rm {} ";"
0 22 * * * find /home/vpopmail/domains/sdc/indv/ -type f -mtime +20
-exec rm {} ";"
0 22 * * * find /home/vpopmail/domains/sdc/jery/ -type f -mtime +20
-exec rm {} ";"
0 22 * * * find /home/vpopmail/domains/sdc/jogb/ -type f -mtime +20
-exec rm {} ";"
0 22 * * * find /home/vpopmail/domains/sdc/jopp/ -type f -mtime +20
-exec rm {} ";"
0 22 * * * find /home/vpopmail/domains/sdc/mohd/ -type f -mtime +20
-exec rm {} ";"
0 22 * * * find /home/vpopmail/domains/sdc/pons/ -type f -mtime +20
-exec rm {} ";"
0 22 * * * find /home/vpopmail/domains/sdc/ship/ -type f -mtime +20
-exec rm {} ";"
- Next message: Ivan Marsh: "Re: Re: FC vs CentOS (or equiv)"
- Previous message: Tom: "Re: NFS Mount - RH7.3 Server - CentOS 4.1 Client"
- Next in thread: noi: "Re: crontab"
- Reply: noi: "Re: crontab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|