Navigation Menu

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

Comments for Cron Wrapper: Keep your cron jobs environment sane #1088

Open
phinjensen opened this issue Nov 11, 2017 · 2 comments
Open

Comments for Cron Wrapper: Keep your cron jobs environment sane #1088

phinjensen opened this issue Nov 11, 2017 · 2 comments

Comments

@phinjensen
Copy link
Contributor

phinjensen commented Nov 11, 2017

Comments for https://www.endpointdev.com/blog/2015/02/cron-wrapper-keep-your-cron-jobs/
By Richard Templet

To enter a comment:

  1. Log in to GitHub
  2. Leave a comment on this issue.
@alkuzad
Copy link

alkuzad commented Feb 7, 2018

Unfortunately ~/.bashrc is not picked up (at least Ubuntu checks if it's running in interactive mode) and a lot of docs/examples uses bashrc as general "autoload" file. Using ~/.bash_profile is much better, however I've seen places where it just souces ~/.bashrc :D

Waiting for systemd-rc to solve that :)

@Linda-chan
Copy link

Nice trick, thanks! Before that I used to start RVM's scripts manually from another wrapper script and then some Ruby script. But this solution is better.

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

3 participants