The EuroCMS Planner
| author | version | date |
|---|---|---|
| Imri Paloja | draft | 24-07-2022 |
Here is where you setup which code is allowed to be executed at an interval.
db structure
| plan_id | domain_id | user_id | group_id | component_type | component_name | name | description | tasks | time_interval | user_lock? | status |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | 1 | 1 | core | updates | Updates | Check for updates | Updates | every_minute | 1 | enabled |
| 2 | 1 | 1 | 1 | Maintenance | Execute various maintenance tasks | DiskUsage,CleanTmpFiles,FilePermCheck | every_hour | 1 | enabled | ||
| 3 | 1 | 1 | 1 | Validate | EuroCMS File validation; make sure no one has modified our files. | ECMSFValidation, | every_day | 1 | enabled | ||
| 4 | 1 | 1 | 1 | modules | Trash | Trash cleanup | Delete 30+ days files | Trash deletion | every_day | 1 | enabled |
Tasks
- Updates
Check if ECMS has updates. And also check of update have been set to a future installation date.
- DiskUsage
Check if the disk usage is passed a certain percentage.
- CleanTmpFiles
Everything in the engine/tmp/ - will be removed after X amount of times...
- FilePermCheck
Make sure that if you set a file to 600, and to the proper owner, that the Webserver (NGINX, Apache) user is allowed to access those files.
- ECMSFValidation
Make sure that our files have not been modified.
Permissions
| name | description | coc_id? |
|---|---|---|
| planner_add | The ability to add planner items | 1 |
| planner_remove | The ability to remove planner items | |
| planner_modify | The ability to modify existing planner items | |
| planner_logs | The ability to view the planner logs | |
| planner_ |