On Fri, 30 Oct 2009 14:13:40 -0700 (PDT), Warren wrote:
Quote:
On Oct 30, 2:09 pm, "Chris F.A. Johnson" wrote:
-name '*' matches dot files, too, so it accomplishes nothing.
Corrected; thank you.
Next problem: I can't get it to run at the time desired.
Not to cut your cron job submission/execution learning experience short, but
have you considered putting the backup deletion code in
the script creating the backups.

Quote:
$ cat /etc/crontab | grep cron.daily
Sorry if someone already pointed this out.
Do keep in mind when using cat and grep, you can use grep directly. Example:
$ grep cron.daily /etc/crontab
02 4 * * * root nice -n 19 run-parts --report /etc/cron.daily