From 29eb962d9ad4c42a2b2f294f0ae5b03e0a039343 Mon Sep 17 00:00:00 2001 From: ZizzyDizzyMC Date: Wed, 10 Feb 2021 19:33:38 -0500 Subject: [PATCH] Meta Log Cron File --- metalog.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 metalog.sh diff --git a/metalog.sh b/metalog.sh new file mode 100644 index 0000000..b350bfb --- /dev/null +++ b/metalog.sh @@ -0,0 +1,10 @@ +#!bin/bash +# For setting up cron with a logging function for metadata only. + +# First argument is Linx Meta Source Directory. +# Second argument is the Linx Meta Log Directory + +# Add to crontab with "crontab -e" +# Paste "*/1 * * * * /path/to/metalog.sh /path/to/meta/source /path/to/meta/log +# Change it to source and log directory paths. +rsync -a ${1} ${2} \ No newline at end of file