CRON Question

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
John877
DD-WRT Novice


Joined: 22 Apr 2013
Posts: 21

PostPosted: Fri Jul 26, 2013 5:22    Post subject: CRON Question Reply with quote
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.
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum