A new gateway script type which allows a script to be triggered at a given time(s). This is a common need for projects, but is not as straight-forward and reliable to implement manually as it seems. A built-in function would make this process more accessible to new users.
Most other SCADA packages allow you to schedule custom actions (events) to occur periodically (after x hours, at a specific time of day, on day or days, 1st of month, specific weekdays, etc. etc.).
For example, I would like to execute a script every four hours starting at midnight, every day. I'd also like to execute a script every 1st of the month at midnight. This can be done using gateway Timer scripts that execute every minute and manually checking for the right date/time conditions, or getting your head around using java's Timer or ScheduledThreadPoolExecutor functions, but these seem more like a workaround rather than a proper solution..
It would be great if we could just create a new 'Scheduled Event' in Ignition, configure a crontab style execution plan, and add the actions we want to execute.
Cheers
We have this on the roadmap.
Not just new users - anyone who needs scheduled events (most of us). CountDown/countUp scripts and expressions carry more work load and maintenance than a cron type trigger.
Gateway scripts that could be triggered with a cron.
Would be a good addition to tag changed and cyclic gateway script
Definitely needs adding.
Yes, script scheduled by a cron table
I like this idea. It would be great if a timer event could have a "Cron" Delay Type, where the Delay (ms) entry field changes to a "Schedule" string.
You can do this easily using expression tags already? You do not need timer scripts or any executors.
Not sure why this feature has not been implemented already?
Great Idea Lionel. I've had a need for this in the past.