The ToDo Pier app has a dependency on Sean DeNigris's Scheduler so that it can run tasks at specific times. This is done by:
(PRScheduledTaskExamples newForKernelNamed: 'Pier') reportOfHistoryOnPageAt: '/John Borden/Todo/Add a History Report/Report'.
Be sure to check the kernel name, it is case sensitive. If the wrong name is given, it will create a new kernel (and more problems later). It can be checked with:
PRKernel instances size. "Should be 1"
/John Borden/Todo/Add a History Report/Report). This can be an empty page. (PRPathLookup start: (PRKernel instanceNamed: 'Pier') root path: '/John Borden/Todo/Add a History Report') automate.
This will change the task to be marked as completed and hidden from the menus. If the task was given a repeat duration, it will execute the above code with that frequency.
Run every 90 minutes:
Report generated on Feb-04 4:59 am
| Task Name | Next Run | Run Count |
|---|---|---|
| Update Overdue Repeating Tasks | Feb-04 5:59 pm | 10 |
| Add a Scheduler Report | Feb-04 12:29 am | 147 |
| Wiki Health Check | Feb-03 10:59 pm | 18 |
| Find Broken Links | Feb-04 5:59 pm | 10 |
| Add a History Report | Feb-04 | 75 |
| Monitor Pier Access | Feb-03 11:05 pm | 18 |
| Print Wiki Load to File | Feb-03 11:15 pm | 439 |
(PRScheduledTaskExamples newForKernelNamed: 'Pier') reportOfSchedulerAt: '/John Borden/Todo' onPageAt: '/John Borden/Todo/Add a Scheduler Report/report'.