From 177b95f1b63290d06f208963f8115c289dcbd142 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Mon, 28 Jul 2025 12:46:26 +0200 Subject: [PATCH] cronjobs (#42) Reviewed-on: https://ognproject.evlt.uma.es/gitea/opengnsys/ogcore/pulls/42 --- .gitignore | 3 ++- etc/cron.d/opengnsys-check-clients | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) 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 diff --git a/etc/cron.d/opengnsys-check-clients b/etc/cron.d/opengnsys-check-clients index e762794..28f5e88 100644 --- a/etc/cron.d/opengnsys-check-clients +++ b/etc/cron.d/opengnsys-check-clients @@ -1 +1,3 @@ -*/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: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