A badly implemented front end to cron.
Used as a front end to my alarm clock runing off a raspberry pi.
git clone https://github.com/ojourmel/selfcheck.git <HTTP_ROOT>
http://localhost
Selfcheck should work in any subfolder of your webserver.
- PHP
- cron
- Javascript enabled browser
- Internet access for CDN dependencies
- CDN libraries can be downloaded localy and sourced in
index.html
to remove Internet access requirement. - JS code is located in
/js
- PHP code is located in
/php
- The backend stores individual items as 'checks'. This is done using flat text files that are index in an array using their file name. As a result, removing, or reordering these 'checks' is non-trivial. This is a huge pain point. As a result, reordering items is not supported, and deleting items causes backend refreshes of cron.
- This implementation assumes the
http
user (or whatever user the php code is executed as) has access to acrontab
, and that thecrontab
is not used by anything else. Thiscrontab
is freqenetly blown away as items are added and removed. - Mobile support is not great.
- 3-Clause BSD