From 9cf3a59c8aab9c73223facbf597e5f87ea215fba Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Fri, 2 Feb 2024 16:29:03 -0800 Subject: [PATCH] feat: replace_key_job script to create cron & to execute the replace key job --- .../plugins/dynamix/scripts/replace_key_job | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 emhttp/plugins/dynamix/scripts/replace_key_job diff --git a/emhttp/plugins/dynamix/scripts/replace_key_job b/emhttp/plugins/dynamix/scripts/replace_key_job new file mode 100755 index 000000000..8d98c0703 --- /dev/null +++ b/emhttp/plugins/dynamix/scripts/replace_key_job @@ -0,0 +1,22 @@ +#!/usr/bin/php -q + /dev/null + + EOT; + parse_cron_cfg("dynamix", "replace-key-job", $text); + break; + + default: + $ReplaceKey = new ReplaceKey(); + $ReplaceKey->check(); + break; +} +