How to set a publish set to publish at a specific date? I.E. Publishing a publish set every 15th of the month.

csaladores's Avatar

csaladores

04 Jun, 2010 08:23 PM

For publish sets, we need the ability to set a specific publish date and time in addition to the existing options to publish at a specific time and on an interval. We also need that content to publish to our live staging server about a week before it goes on our live site.

Currently on articles you cannot publish to a test or staging server unless the Start Date field is set to today's date or earlier. In order to publish to a test or staging server, we find ourselves setting the start date to a date earlier that we plan to publish to live just so we can facilitate this.

This puts the asset at risk of being published to live accidentally or for components of that page that are embedded in other pages to be published live as part of a publishing set. It would be great if we could have an additional date field on the metadata tab where we could enter a start date for publishing to test/staging so that the asset would be ignored for publishing/indexing to live until we reach the live publish start date.

Perhaps the CMS can add an option checkbox for the asset page not to be published when it’s part of the publish set. I.E. If a page is not yet ready to be published then we would check the checkbox “publish only on staging server” to not publish to live only for that page, but still be part of the publish set.

Thanks.
Christian

  1. 1 Posted by Syl on 04 Jun, 2010 09:01 PM

    Syl's Avatar

    Christian,

    One thing that could be done is using a web services script with a cron job. It would be something like this:

    • A script uses web services to call a "publish" operation on the publish set you want.
    • A cron job is created to run that script on the 15th of the month.

    Depending on how the script is written, you could pass parameters, like asset type and path, to the script from the cron job. Then you'd have one script to write and create multiple cron jobs for each thing you'd want to publish. With cron, you'd get more options for publishing at certain times and not just at intervals.

    Just an idea until something better is native in Cascade.

    Syl

  2. 2 Posted by Bradley Wagner on 04 Jun, 2010 10:16 PM

    Bradley Wagner's Avatar

    Here's the related idea from our idea exchange about publishing on a specific date.

    Here's an idea that would help for the staging server scenario by allowing you to publish a Publish Set to a particular Destination

  3. 3 Posted by csaladores on 07 Jun, 2010 01:32 PM

    csaladores's Avatar

    Great, thanks. Do you think we can apply this on windows 2003 server?

  4. Support Staff 4 Posted by Tim on 07 Jun, 2010 02:04 PM

    Tim's Avatar

    For Windows, you'd probably want to look into setting up some scheduled tasks to accomplish what Syl mentioned above.

    As far as the web services piece is concerned, you can use php, java, .net, etc - whatever you are most comfortable with.

  5. Tim closed this discussion on 07 Jun, 2010 02:04 PM.

  6. csaladores re-opened this discussion on 20 Jul, 2010 05:15 PM

  7. 5 Posted by csaladores on 20 Jul, 2010 05:15 PM

    csaladores's Avatar

    Tim, do you have a working web services example using .net? Or any reference using .net technology?

  8. 6 Posted by csaladores on 03 Aug, 2010 08:47 PM

    csaladores's Avatar

    Nevermind Tim. I use php to do the web services. Thanks for all your help. You may now close this ticket.

    -Christian

  9. Tim closed this discussion on 03 Aug, 2010 09:29 PM.

Comments are currently closed for this discussion. You can start a new one.

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