Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cron is broken...again #10

Closed
philcryer opened this issue Apr 28, 2011 · 2 comments
Closed

Cron is broken...again #10

philcryer opened this issue Apr 28, 2011 · 2 comments
Assignees

Comments

@philcryer
Copy link
Owner

cron is not working as advertised, and that's the part that actually pulls changes from the server, so without it, lipsync only appears to be doing syncs in one direction. I need to read up on how to have a setup script create a cron script, I copied an existing one in /etc/cron.d, but it fails...however, if I run this command (as root) all is good, updates on the server come down to the client:

su phil -c "/usr/local/bin/lipsync"

of course the above won't work for you unless your (user)name is also phil :)

@ghost ghost assigned philcryer Apr 28, 2011
@philcryer
Copy link
Owner Author

Ok, Cron is fixed via this commit: 8c3be96

I had root trying to setup a crontab for itself, but now the install just adds a line to the user's crontab - much better, more secure, best practices, etc...done!

@bacardi55
Copy link

It is indeed a much cleaner / safer way to do it :)
I don't like to use root when I can avoid it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants