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

Why does this module not load when executing cron #54

Closed
samaybhavsar opened this issue Apr 29, 2017 · 3 comments
Closed

Why does this module not load when executing cron #54

samaybhavsar opened this issue Apr 29, 2017 · 3 comments

Comments

@samaybhavsar
Copy link

No description provided.

@samaybhavsar samaybhavsar changed the title Why does it this module not load when executing cron Why does this module not load when executing cron May 3, 2017
@leocavalcante
Copy link

Got the same using JavaScript's version. Maybe something related to cron's execution environment.

@matthewchung74
Copy link

i was having the same issue on one of my aws linux instances. i changed my cron to this * * * * * source $HOME/.bashrc cd /home/ec2-user/etl/ds_etl_service && /home/ec2-user/etl/ds_etl_service/run.sh such that it uses the bash shell and can read the env vars.

@theskumar
Copy link
Owner

@samaybhavsar can you add more details as to how you are executing the cron command. Whether you are using the cli or using the dotenv instead a python script?

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

No branches or pull requests

4 participants