From 1016f99ca9eb3e45bd7577660f6acd3fbc53778f Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 19 Feb 2020 22:27:34 +0100 Subject: [PATCH] Add hourly cron --- bin/voicegardens-cron-hourly | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 bin/voicegardens-cron-hourly diff --git a/bin/voicegardens-cron-hourly b/bin/voicegardens-cron-hourly new file mode 100755 index 0000000..7d75afb --- /dev/null +++ b/bin/voicegardens-cron-hourly @@ -0,0 +1,4 @@ +#!/bin/sh + +find /var/www/doesitsparkjoy.voicegardens.org/ -maxdepth 1 -type f -size 0 | xargs rm +find /var/www/voicegardens.org/ -maxdepth 1 -type f -size 0 | xargs rm