Schedule task activation from cron

paolo.tateo

Member
Hi,
if I want to activate a Schedule task that requires a long processing time, I prefer not to wait for the users of my site.

Can I activate Schedule task with a cron on the server? With what command?

thanks

Paolo
 
Add a cron job on your server with
wget http://yoursite.com/index.php

If you want the Schedule task to be initiated only via a cron job set "require query string"=yes and add
wget http://yoursite.com/index.php?fabrik_cron=1

Require query string - if set to yes then the plugin will only run if the page's URL contains the querystring 'fabrik_cron=1'. Useful to stop processor intensive queries running when a browser requests a page, whilst still allowing server cron jobs to run using wget with &fabrik_cron=1 applied to the url. The simplest way to call this is: 'wget http://yoursite.com/index.php?fabrik_cron=1' or, for systems without wget, 'curl -s http://yoursite.com/index.php?fabrik_cron=1'.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top