From fe57546f305bcc30d397ac6fbd64b39b04ae6b02 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Fri, 27 Jun 2025 09:46:27 +0200 Subject: [PATCH 1/4] Update .gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0efa7f8..6e36675 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ /public/bundles/ /var/ /vendor/ +api/public/bundles/ ###< symfony/framework-bundle ### #phpstorm @@ -31,5 +32,5 @@ debian/ogcore debian/*.substvars debian/*.log debian/.debhelper/ - +debian/files -- 2.40.1 From d49d5af5665fc7336618f301d1a9e62a62387c95 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Thu, 24 Jul 2025 16:18:59 +0200 Subject: [PATCH 2/4] Added cronjob file for packaging --- etc/cron.d/opengnsys-check-clients | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/cron.d/opengnsys-check-clients b/etc/cron.d/opengnsys-check-clients index e762794..5622f92 100644 --- a/etc/cron.d/opengnsys-check-clients +++ b/etc/cron.d/opengnsys-check-clients @@ -1 +1,2 @@ -*/5 * * * * opengnsys php -d memory_limit=512M /opt/opengnsys/ogcore/api/bin/console opengnsys:check-client-availability >> /opt/opengnsys/ogcore/api/var/log/cron.log 2>&1 +*/2 * * * * opengnsys php -d memory_limit=512M /opt/opengnsys/ogcore/api/bin/console opengnsys:check-client-availability>> /opt/opengnsys/ogcore/api/var/log/cron.log 2>&1 +*/1 * * * * opengnsys php -d memory_limit=512M /opt/opengnsys/ogcore/api/bin/console opengnsys:execute-pending-traces>> /opt/opengnsys/ogcore/api/var/log/cron.log 2>&1 \ No newline at end of file -- 2.40.1 From 048cea422dc45a882af1cf4149d2f559593a21ce Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Thu, 24 Jul 2025 16:30:05 +0200 Subject: [PATCH 3/4] Added cronjob file for packaging --- etc/cron.d/opengnsys-check-clients | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/cron.d/opengnsys-check-clients b/etc/cron.d/opengnsys-check-clients index 5622f92..0131c9b 100644 --- a/etc/cron.d/opengnsys-check-clients +++ b/etc/cron.d/opengnsys-check-clients @@ -1,2 +1,2 @@ */2 * * * * opengnsys php -d memory_limit=512M /opt/opengnsys/ogcore/api/bin/console opengnsys:check-client-availability>> /opt/opengnsys/ogcore/api/var/log/cron.log 2>&1 -*/1 * * * * opengnsys php -d memory_limit=512M /opt/opengnsys/ogcore/api/bin/console opengnsys:execute-pending-traces>> /opt/opengnsys/ogcore/api/var/log/cron.log 2>&1 \ No newline at end of file +*/1 * * * * opengnsys php -d memory_limit=512M /opt/opengnsys/ogcore/api/bin/console opengnsys:run-scheduled-command-tasks>> /opt/opengnsys/ogcore/api/var/log/cron.log 2>&1 \ No newline at end of file -- 2.40.1 From c1039cc393ba64f6d5ec1232df43504d596f5f53 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Mon, 28 Jul 2025 12:44:42 +0200 Subject: [PATCH 4/4] Added cron to execute pending tasks --- etc/cron.d/opengnsys-check-clients | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/cron.d/opengnsys-check-clients b/etc/cron.d/opengnsys-check-clients index 0131c9b..28f5e88 100644 --- a/etc/cron.d/opengnsys-check-clients +++ b/etc/cron.d/opengnsys-check-clients @@ -1,2 +1,3 @@ */2 * * * * opengnsys php -d memory_limit=512M /opt/opengnsys/ogcore/api/bin/console opengnsys:check-client-availability>> /opt/opengnsys/ogcore/api/var/log/cron.log 2>&1 -*/1 * * * * opengnsys php -d memory_limit=512M /opt/opengnsys/ogcore/api/bin/console opengnsys:run-scheduled-command-tasks>> /opt/opengnsys/ogcore/api/var/log/cron.log 2>&1 \ No newline at end of file +*/1 * * * * opengnsys php -d memory_limit=512M /opt/opengnsys/ogcore/api/bin/console opengnsys:run-scheduled-command-tasks>> /opt/opengnsys/ogcore/api/var/log/cron.log 2>&1 +*/1 * * * * opengnsys php -d memory_limit=512M /opt/opengnsys/ogcore/api/bin/console opengnsys:execute-pending-traces>> /opt/opengnsys/ogcore/api/var/log/cron.log 2>&1 \ No newline at end of file -- 2.40.1