User Tools

Site Tools


uphp:library_functions:remove_cron

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

uphp:library_functions:remove_cron [2021/04/07 10:32]
admin created
uphp:library_functions:remove_cron [2021/09/13 05:57]
Line 1: Line 1:
-======remove_cron====== 
- 
-<badge>WattmonOS 3.12+</badge> 
- 
-Remove a script from the CRON scheduler 
- 
-====Library==== 
- 
-<html><pre><span style="font-size:125%;color:green">/lib/uphp/system.inc</span></pre></html> 
- 
-====Description==== 
- 
-<well size="sm"><html> 
-<span style="font-size:125%;color:green"> 
-<span style="color:black">remove_cron ( 
-<span style="color:green">string 
-<span style="color:blue">$filename 
- 
-<span style="color:black"> 
-) 
-</html></well> 
- 
-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==== 
- 
-<html><b><span style="color:blue">$filename<span style="color:black"></b></html>: 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   
- 
- 
- 
- 
  
uphp/library_functions/remove_cron.txt · Last modified: 2021/09/13 05:57 (external edit)