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

USER: unbound variable when used in a cron job #3

Closed
oeolartep opened this issue Jan 18, 2016 · 1 comment
Closed

USER: unbound variable when used in a cron job #3

oeolartep opened this issue Jan 18, 2016 · 1 comment

Comments

@oeolartep
Copy link

I get this error when used in a cron job:
speedtest: line 92: USER: unbound variable

USER env variable isn't available when used as a cron job. I suggest using HOME variable in line 92 instead.

@rsvp
Copy link
Owner

rsvp commented Jan 19, 2016

@oeolartep Hi, made the change as you requested. Thanks very much!

Let me know if your cron job handles speedtest properly.

Some other gotchas, depending on your Linux distribution:
http://stackoverflow.com/questions/2229825/where-can-i-set-environment-variables-that-crontab-will-use

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