Blog

Anzeige der Einträge mit Tag 'Publishing'

Publishing Silverstripe pages via Cron

As I have written before we moved from Wordpress to Silverstripe. The Silverstripe blog module has all the functionally needed to be used on a daily basis. However I was missing one particular feature of Wordpress: I want to be able to automatically publish blog posts via Cron. After some research it turned out that Silverstripe supports so-called BuildTasks which can be called from command line or via an url call. After some more research I came up with the following task that will run on a daily basis and publish all blog posts that have been scheduled for the current day:


mehr lesen...


Eintrag von Stephan Hochdörfer am 31.03.2014

Diese Webseite verwendet Cookies, um die Bedienfreundlichkeit zu erhöhen. Mit der Nutzung unserer Webseite wird das Einverständnis erklärt, dass wir Cookies verwenden. Weitere Informationen.