Publish a page on a specific date and time
Is there a way to publish a single page on a specific date and time?
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Tim on 24 May, 2013 06:46 PM
Hi Matthew,
I'm thinking you could accomplish this by doing the following:
0 15 12 20 FEB ? 2
would have published the Publish Set at 12:15pm on February 20th of this year.Let me know if this helps!
2 Posted by matthew.wren on 24 May, 2013 07:41 PM
Based on that wiki you provided, if wanted to publish on Saturday May 25th at noon, the cron expression would be:
I feel like I'm missing something though or didn't quite understand it
3 Posted by Ryan Griffith on 29 May, 2013 03:59 PM
Hi Matthew,
Apologies for the late response, were you able to get your cron expression working?
In order to specify the month and day of week, you must use the numeric representation. For example, to run the job every year on May 25 @ 12:00PM, you would use
0 0 12 25 5 ? *
. If you only need it to run once, you can use the same notation and then simply remove the job once the date has passed (it seems like specifying a year doesn't work in all environments/expressions).Here is a great tool for generating cron expressions and an accompanying tutorial that may be a bit more understandable than Wikipedia.
Please let me know if you have any questions.
Thanks!
Ryan Griffith closed this discussion on 10 Jun, 2013 03:17 PM.