Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

CMS Workflow Module: Not Scheduling - Maybe Cron Issue

Go to End



Community Member, 25 Posts

8 September 2011 at 12:24pm

I have installed the CMS Workflow module however when I set the embargo date of posts they aren't publishing on their own. I found these two discussions which lead me down the path of creating a CRON job.

GoDaddy is my web host (Linux server) and has the ability to create the CRON job through the console. I set one up using the /sapphire/cli-script.php file as the command file. But either that isn't the right file or I'm missing a set. Below is what came over via email in the cron log.

Content-type: text/html

<br />
<b>Notice</b>:  Undefined index:  SCRIPT_NAME in <b>/home/content/07/7202507/html/cassiusblueco/sapphire/core/Core.php</b> on line <b>145</b><br />
<br />
<b>Notice</b>:  Undefined index:  SCRIPT_NAME in <b>/home/content/07/7202507/html/cassiusblueco/sapphire/core/Core.php</b> on line <b>154</b><br />
<br />
<b>Notice</b>:  Undefined index:  SCRIPT_NAME in <b>/home/content/07/7202507/html/cassiusblueco/sapphire/core/Core.php</b> on line <b>156</b><br />
<br />
<b>Warning</b>:  Director::protocolAndHost() lacks sufficient information - HTTP_HOST not set. in <b>/home/content/07/7202507/html/cassiusblueco/sapphire/core/control/Director.php</b> on line <b>388</b><br />
<br />
<b>Notice</b>:  Undefined index:  HTTP_HOST in <b>/home/content/07/7202507/html/cassiusblueco/mobile/code/MobileSiteConfigExtension.php</b> on line <b>43</b><br />
<br />
<b>Notice</b>:  Undefined index:  HTTP_HOST in <b>/home/content/07/7202507/html/cassiusblueco/mobile/code/MobileSiteConfigExtension.php</b> on line <b>44</b><br />
Please specify an argument to cli-script.php/sake. For more information, visit

I visited the URL it gave for more information which also lead me to

I'm not a developer, so I'm a bit confused on what I need to do to make this work and fear screwing up my site so I wanted to first reach out to the community for help. Can anyone tell me what I'm missing? What steps to take? Or if there is a better way to complete the task?

My end goal is to schedule my blog posts so they publish on a specific day. In the future I can see a need for set pages to expire but at this point I'd be happy if I can finally get this to work.