lnbits scheduler extension [previously: crontabs]
IMPORTANT:
- The user that runs LNBits server MUST have crontab -e permissions in order to read/write to crontab file.
- This extension should be limited to admin account(s).
- min version 0.12.10
LNBitsSchedulerVideo.mp4
Add, Edit, Delete and Monitor your scheduled Jobs from the Main Panel.
Schedule a specific http call with a specific timed interval.
- Create a new job by clicking "New Scheduled Job"
- Fill the options for your new SCHEDULED JOB
- Enter a Name for your Job
- Select an action (GET/PUT/POST/DEL)
- Enter the URL
- Add any headers if required
- Add body data if required, leave blank if there is no body (e.g. for DELETE)
- enter the scheduled time/day you want to run your job. You can use crontab.guru to help validate your cron schedules.
- Save your scheduled job and return to the main page to test the job (Orange) or start the job (Green arrow)
- All methods for controlling your job are on the main panel [Start/Stop, Edit, Test, View Logs and Delete]
NOTE: Jobs may not run automatically on creation depending on the release version. You will need to start and stop the jobs on the main panel [see image above]. If you are unfamiliar with how the 5 slot scheduling works, visit this resource: https://crontab.guru
- Individual Job Logs - these are viewable by clicking on the blue info icons on the main panel.
- Test job Logs - this is for testing the job and the result is not recorded to the database only to the test log file.
- Complete Extension Logs - This will show all errors and all events, these are viewable by clicking on the "View all logs" button, located the top of the main panel.