"Fabrik 4" helpers needed!Dismiss Notice
You are invited to join other community members active in coding, maintaining and improving Fabrik. Please visit https://fabrik.help for more information!
PHP scheduled task
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.
- 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.
Set variable $processed in your php code to get the number in Fabrik's backend "Run" message "xy records updated".
XenCarta PRO © Jason Axelrod from 8WAYRUN.COM