A closer look at choresA closer look at chores admin Tue, 2019-11-19 08:58
if you ever loaded a .cho file in an editor this is what you would expect:
534,8 530,yyyymmddhhmmss ------ date/time of the first run 531,dddhhmmss ------ frequency 532,p ------ number p of processes to run 13,16 6,"process name" 560,0 13,16 533,x ------ x=1 active/ x=0 inactive
In the 9.1 series it is possible to see from the Server Explorer which chores are active from the chores menu.
However this is not the case in the 9.0 series, also it is not possible to see when and how often the chores are running unless you deactivate them first and edit them. Not quite convenient to say the least.
From the specs above, it is easy to set rules for a parser and deliver all that information in a simple report.
So the perl script attached below is doing just that: listing all chores on your server, their date/time of execution, frequency and activity status.
Procedure to follow:
- Install perl
- Save chores.pl in a folder
- Doubleclick on chores.pl
- A window opens, enter the path to your TM1 server data folder there
- Open resulting file chores.txt created in the same folder as chores.pl
ACT / date-time / frequency / chore name X 2005/08/15 04:55:00 007d 00h 00m 00s currentweek X 2007/04/28 05:00:00 001d 00h 00m 00s DailyS X 2007/05/30 05:50:00 001d 00h 00m 00s DAILY_UPDATE X 2007/05/30 05:40:00 001d 00h 00m 00s DAILY_S_UPDATE X 2005/08/13 20:00:05 007d 00h 00m 00s eweek X 2006/04/06 07:30:00 001d 00h 00m 00s a_Daily X 2007/05/30 06:05:00 001d 00h 00m 00s SaveDataAll X 2007/05/28 05:20:00 007d 00h 00m 00s WEEKLY BUILD X 2005/05/15 21:00:00 007d 00h 00m 00s weeklystock 2007/05/28 05:30:00 007d 00h 00m 00s WEEKLY_LOAD