babyewok Posted April 10, 2014 Share Posted April 10, 2014 I have set up the cron job as specified in the sitemap module on PS 1.4.11 to run at 1700 hours everyday, however I just realised that it had not run once since setting it up in October! My host says it is not for them to comment on as I set up the cron.... Why is it not running? Link to comment Share on other sites More sharing options...
inweb Posted April 10, 2014 Share Posted April 10, 2014 How exactly the command you setup in cron looks like? Link to comment Share on other sites More sharing options...
babyewok Posted April 10, 2014 Author Share Posted April 10, 2014 (edited) I did it via cpanel, so the path is http : // www.mydomain.co.uk/modules/gsitemap/gsitemap-cron.php?token=643787713a as suggested by the module (without the spaces as it is written as a url on here otherwise!) the time ot run is set up as mins: 0 hours: 17 month: * day: * weekday: * Edited April 10, 2014 by babyewok (see edit history) Link to comment Share on other sites More sharing options...
inweb Posted April 10, 2014 Share Posted April 10, 2014 Such command does NOTHING. Please change it to: curl http://www.mydomain.co.uk/modules/gsitemap/gsitemap-cron.php?token=643787713a > /dev/null 2>&1 Link to comment Share on other sites More sharing options...
babyewok Posted April 10, 2014 Author Share Posted April 10, 2014 That has fixed it, thanks for your help. Link to comment Share on other sites More sharing options...
Recommended Posts