Skip to content

Commit 7fb3c3b

Browse files
committed
🐛 Aws not found in cron
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
1 parent 0182120 commit 7fb3c3b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

backups/utils.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ subtract-date-from-now() {
2727
SEC=$((86400 * DAYS))
2828
date -d "@$(($(date +%s) - SEC))" +"%Y-%m-%d"
2929
}
30+
31+
aws() {
32+
command /usr/local/bin/aws "$@"
33+
}

0 commit comments

Comments
 (0)