Created the page to document automated tasks:
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 Mar-22 2:29 am
| Task Name | Next Run | Run Count |
|---|---|---|
| Add a Scheduler Report | 2026-03-22T02:29:00-05:00 | 23 |
| Update Overdue Repeating Tasks | 2026-03-22T04:59:00-05:00 | 1 |
| Wiki Health Check | 2026-03-22T09:59:00-05:00 | 3 |
| Find Broken Links | 2026-03-22T04:59:00-05:00 | 1 |
| Add a History Report | 2026-03-22T04:59:00-05:00 | 12 |
| Monitor Pier Access | 2026-03-22T10:05:00-05:00 | 3 |
| Print Wiki Load to File | 2026-03-22T02:45:00-05:00 | 70 |
(PRScheduledTaskExamples newForKernelNamed: 'Pier') reportOfSchedulerAt: '/John Borden/Todo' onPageAt: '/John Borden/Todo/Add a Scheduler Report/report'.