Hi:
Both the database and the sequencer have good support for
periodic scheduling (scan field resp. delay() routine).
But I now have a need for scheduling things at certain times,
for example "at 00:15 and then every 6 hours",
meaning: run at 00:15, 06:15, 12:15 and 18:15 each day.
Of course 'cron' (crontab) allows scheduling of that exact type,
and running 'caput' in a cron job to trigger what I want to happen
on the IOC would be a hack towards that functionality.
But I'd prefer this all to be contained on the IOC,
and configurable via PVs, so that operators can change it
from the usual operator screens and won't have to get into
the business of editing crontabs.
Has anybody done something like this?
PVs for configuring the time, plus sequencer code
for determining the next runtime etc.?
Thanks,
-Kay
- Replies:
- Re: cron-type scheduling in database or sequencer? Andrew Johnson
- Re: cron-type scheduling in database or sequencer? Maren Purves
- Navigate by Date:
- Prev:
RE: Failure to build EPICS 3.14.8.2 on Windows XP using VC++ 2005Express Edition Jeff Hill
- Next:
Re: cron-type scheduling in database or sequencer? Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Failure to build EPICS 3.14.8.2 on Windows XP using VC++ 2005Express Edition Jeff Hill
- Next:
Re: cron-type scheduling in database or sequencer? Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|