Skip to content

Commit

Permalink
fixed script so it can be dropped into the user's crontab during install
Browse files Browse the repository at this point in the history
- this fixes CRON (yes, again)
  • Loading branch information
philcryer committed May 2, 2011
1 parent be3557b commit a12ab22
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions etc/cron.d/lipsync
@@ -1,14 +1 @@
#!/bin/sh -e
# Distributed under the terms of the BSD License.
# Copyright (c) 2011 Phil Cryer phil.cryer@gmail.com
# Source https://github.com/philcryer/lipsync

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
CONF_FILE=/etc/lipsyncd

if [[ -e $CONF_FILE ]]; then
. $CONF_FILE
fi

# run lipsync against the server every 15 minutes to catch changes from other nodes
15,30,45,00 * * * * $USER_NAME /usr/local/bin/lipsync
* * * * * /usr/local/bin/lipsync

0 comments on commit a12ab22

Please sign in to comment.