Skip to content

Commit

Permalink
Update cron info README_AWS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JCash authored Nov 9, 2023
1 parent a9a06b8 commit 8335f33
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README_AWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <kbd>Ctrl+X</kbd>)

#!/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):
Expand Down

0 comments on commit 8335f33

Please sign in to comment.