======remove_cron======
WattmonOS 3.12+
Remove a script from the CRON scheduler
====Library====
/lib/uphp/system.inc
====Description====
remove_cron (
string
$filename
)
This will attempt to remove the script from the scheduler. This will effectively recreate the crontab file and changes will only be applied after a reboot.
====Parameters====
$filename: Full path to filename to be executed
====Return Values====
int - 1 if the script was found and removed, 0 if the script was not found in the crontab