You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description fcron has a feature to avoid starting jobs whilst system load is too high. It does this with configuration options such as lavg, or lavg1, lavg5 and lavg15 options which specify the threshold under which the system must be operating to begin the job. It may be combined with until to specify a timeout period after which the job would run regardless of load.
Example
# wait a maximum of 5 hours every day for a fall of the load average
@lavgand,lavg(1,2.0,3.0),until(5h) 1d echo "Load average is going down"
This library runs via cron and can run shell scripts. So if you want to run a shell script do it and take care that it does not time out. The job you are running is irrelevant if you control the duration of the job and the time out option. Read the documentation for more information.
Description
fcron has a feature to avoid starting jobs whilst system load is too high. It does this with configuration options such as
lavg
, orlavg1
,lavg5
andlavg15
options which specify the threshold under which the system must be operating to begin the job. It may be combined withuntil
to specify a timeout period after which the job would run regardless of load.Example
For more, see fcrontab (5).
The text was updated successfully, but these errors were encountered: