Meta Log Cron File

This commit is contained in:
ZizzyDizzyMC 2021-02-10 19:33:38 -05:00
parent 26aeb87d42
commit 29eb962d9a
1 changed files with 10 additions and 0 deletions

10
metalog.sh Normal file
View File

@ -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}