Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

manually pulled in grossfeld's change to add cron

  • Loading branch information...
commit 9c34efb9f2ee2e4830ac979062b2b3b7e067d657 1 parent 2926d23
@philcryer authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 install.sh
View
4 install.sh 100644 → 100755
@@ -148,10 +148,12 @@ deploy(){
echo "done"
echo -n " > Installing cron for user $username..."
- crontab -u $username etc/cron.d/lipsync
+ #crontab -u $username etc/cron.d/lipsync
#echo -n " > /etc/cron.d/lipsync..."
#cp etc/cron.d/lipsync /etc/cron.d
#chmod 755 /etc/cron.d/lipsync
+ newcronjob="* * * * * /usr/local/bin/lipsync" #define entry for crontab
+ (crontab -l; echo "$newcronjob") | crontab -u $username - #list crontab, read entry from crontab, add line from stdin to crontab
echo "done"
echo -n " > /etc/lipsyncd..."
Please sign in to comment.
Something went wrong with that request. Please try again.