From 45ba0db54eda774882eddca3b71e7afdb73a3e34 Mon Sep 17 00:00:00 2001 From: Benjamin Trenkle Date: Sat, 30 Jan 2021 14:22:53 +0100 Subject: [PATCH 1/3] Add first meta for poor mans cron manager --- proposed/poormanscron-template-meta.md | 77 ++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 proposed/poormanscron-template-meta.md diff --git a/proposed/poormanscron-template-meta.md b/proposed/poormanscron-template-meta.md new file mode 100644 index 0000000..16bdb7e --- /dev/null +++ b/proposed/poormanscron-template-meta.md @@ -0,0 +1,77 @@ +# \ Meta Document + +## 1. Summary + +Currently there is no easy way to execute automated scripts in Joomla! without the proper server technology. + +This proposal aims to define a way to enable integrators/administrators to manage cronjobs or cronjob-alike behaviours in the Joomla! backend. + +## 2. Why Bother? + +Having some kind of automation on web application is really helpful. Joomla! offers a CLI support but no way to execute this files in an automated way. + +There are several approaches which put the burden on the developer but make it hard for the integrator/administrator to manage these scripts. + +## 3. Scope + +### 3.1 Goals + +The goals for this proposal are to + +- define a full cronjob/tab manager (com_cron) operated from the Joomla! backend +- define the API to operate with crontab when available on the server +- define the execution of "poor mans crons" without crontab available +- define 3rd party execution possibilities from e.g. hosting panels (CLI) +- define the API for 3rd party developer to integrate their scripts into the manager +- define the workflow how the crons are executed +- define a best practise example for a Joomla! Workflow cron (executing transitions) + + +### 3.2 Non-Goals + +TBD + +## 4. Approaches + +### 4.1 Approach 1 + +#### 4.1.1 Projects Using Approach 1 + +### 4.2 Approach 2 + +#### 4.2.1 Projects Using Approach 2 + +### 4.3 Comparison of Approaches + +### 4.4 Chosen Approach + +## 5. Design Decisions + +## 6. People + +### 6.1 Editor(s) + +* Benjamin Trenkle + +### 6.2 Sponsors + +* + +### 6.3 Contributors + +* Llewellyn van der Merwe +* Niels Braczek + +## 7. Votes + +* **Entrance Vote:** _(not yet taken)_ +* **Acceptance Vote:** _(not yet taken)_ + +## 8. Relevant Links + +* https://github.com/joomla/joomla-cms/pull/29592#issuecomment-722257503 +* https://www.drupal.org/project/poormanscron + +## 9. Errata + +... From 17d39431c058714a13b2869b481ad74dae940fe7 Mon Sep 17 00:00:00 2001 From: Niels Braczek Date: Wed, 10 Feb 2021 12:56:38 +0100 Subject: [PATCH 2/3] Rename meta file --- proposed/{poormanscron-template-meta.md => cron-meta.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename proposed/{poormanscron-template-meta.md => cron-meta.md} (100%) diff --git a/proposed/poormanscron-template-meta.md b/proposed/cron-meta.md similarity index 100% rename from proposed/poormanscron-template-meta.md rename to proposed/cron-meta.md From c7cfbb23c97eb1116f4d41d2997ea6aee01e9549 Mon Sep 17 00:00:00 2001 From: Niels Braczek Date: Wed, 10 Feb 2021 12:57:47 +0100 Subject: [PATCH 3/3] Fix title --- proposed/cron-meta.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposed/cron-meta.md b/proposed/cron-meta.md index 16bdb7e..5186ebf 100644 --- a/proposed/cron-meta.md +++ b/proposed/cron-meta.md @@ -1,4 +1,4 @@ -# \ Meta Document +# Cron Support Meta Document ## 1. Summary