From e4314af18517b0c2244ea83ce502e3e8aec84dc8 Mon Sep 17 00:00:00 2001 From: NaiJi Date: Fri, 15 Apr 2022 17:55:49 +0300 Subject: [PATCH] Add crontab.conf for crontab root --- indexparser/crontab.conf | 1 + indexparser.sh => indexparser/indexparser.sh | 0 2 files changed, 1 insertion(+) create mode 100644 indexparser/crontab.conf rename indexparser.sh => indexparser/indexparser.sh (100%) diff --git a/indexparser/crontab.conf b/indexparser/crontab.conf new file mode 100644 index 0000000..2166396 --- /dev/null +++ b/indexparser/crontab.conf @@ -0,0 +1 @@ +1 0 * * * PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' bash /home/user/indexparser.sh > /home/user/"Update at $(date).log" diff --git a/indexparser.sh b/indexparser/indexparser.sh similarity index 100% rename from indexparser.sh rename to indexparser/indexparser.sh