John877 DD-WRT Novice
Joined: 22 Apr 2013 Posts: 21
|
Posted: Fri Jul 26, 2013 5:22 Post subject: CRON Question |
|
Can we use L to represent last in like the month field in DD-WRT?
What I want to do is use this:
59 23 L * * cp /tmp/usage.db /jffs/backups/$(date +%Y-%m-%d).db
To copy the usage/db file to a backups folder at 11:59pm on the last day of the month. Alternative is I guess I would have to do it on the 1st of the month at 12:00am but I would prefer the last minute of the month instead. |
|