Modules: Background Jobs

Background modules are processes that automatically fire up in the background on your server.

Without the help of a Cron Job, the modules are pushed to run when someone is active on your site. If no one is browsing your site the jobs will be pushed as soon as someone is.

Set up a cron job to send a push for any jobs to run by placing a HTTP request to https://www.yoursite.com/push_jobs.php. Please note that LiteCart will not push any jobs if the last push was within the minimum time of rest.

The minimum amount of minutes for the job engine to rest can be set under Settings -> Advanced.

Example of cron configuration using wget:

*/5 * * * * wget -qO- https://www.yourstore.com/push_jobs &>/dev/null

Example using cURL:

*/5 * * * * curl --silent https://www.yourstore.com/push_jobs &>/dev/null

See Also

Revisions

Top Editors
Recently Edited Articles