1. If you update to Joomla 3.8.10, please make sure that you either do a full GitHub update of Fabrik, or disable caching for your lists (in the Advanced settings) or turn off Joomla's System Cache setting. A change in Joomla's cache code in 3.8.10 required a fix in Fabrik, which will be rolled in to the next release, but is currently only available in GitHub.
    Dismiss Notice
  2. We will be performing an update of XenForo (the forum software use on this site) this afternoon, Fri 8/17/2018. The forums will be unavailable for a (hopefully!) short time.
    Dismiss Notice

PHP scheduled task

Dec 22, 2015
PHP scheduled task

  • Introduction(top)


    The cron PHP plugin allows you to run PHP scripts on a regular basis. This can be useful for setting up custom notifications, running maintenance work on your data etc.

    The PHP scheduled task plugin will only run if the Fabrik Cron System Plug-in is installed.

    Options(top)


    cron-php.png
    • PHP Script - Located in plugins/fabrik_cron/php/scripts this is the script that will be run
    • PHP Set up - Allows you to define variables which can then be accessed in your PHP script. This allows you to create more generic scripts whose parameters can then be modified from this editor window.
    On recent version, if you want your script not being triggered any more, you may add the following line :
    PHP:
    $this->shouldReschedule(false);
    It should be at the end of the script or followed by a "return;" statement if you want to immediatly "exit" the script. It will be unpublished, and a log line to that effect added.
  • Loading...