From 8335f33a9728a1eeee7a66e204b5546946c91f77 Mon Sep 17 00:00:00 2001 From: Mathias Westerdahl Date: Thu, 9 Nov 2023 10:09:42 +0100 Subject: [PATCH] Update cron info README_AWS.md --- README_AWS.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README_AWS.md b/README_AWS.md index 21768616..e3c902ee 100644 --- a/README_AWS.md +++ b/README_AWS.md @@ -56,15 +56,18 @@ Currently, we don't have an upload/install step for this, so we'll add it manual $ cd /usr/local $ sudo nano ./extender-cron.sh - $ sudo chmod +x extender-cron.sh -Add the following +Add the following (and save with Ctrl+X) #!/usr/bin/env bash echo "Running extender-cron.sh" date /usr/local/bin/pod cache clean --all +Make it executable + + $ sudo chmod +x extender-cron.sh + #### Scheduling You can add a cronjob by using [crontab](https://man7.org/linux/man-pages/man5/crontab.5.html) (using VIM):