Page 1 of 1

Script to adjust scheduled events?

Posted: Tue Feb 23, 2021 4:22 am
by mcl1981
Hi all. Is there a way (perhaps with a script?) to programmatically adjust scheduled events? For example, I have a "every 5 minutes" event that writes wx data to a mySQL server, which is also used on a public facing website. I would like to script something that will increase the schedule to every minute or every 30 seconds during severe weather such as high wind. Then roll back to 5 minutes in calm conditions.

Re: Script to adjust scheduled events?

Posted: Sun Apr 18, 2021 6:05 pm
by azchrisf
If Boris is using Cron, then I think yes you could write a script to do it but you would need to be versed in shell scripting and also reading the current values.

Re: Script to adjust scheduled events?

Posted: Mon Apr 19, 2021 11:17 am
by admin
no cron here.