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

/usr/bin/env: 'php': No such file or directory #105

Closed
teichsta opened this issue Mar 6, 2023 · 0 comments
Closed

/usr/bin/env: 'php': No such file or directory #105

teichsta opened this issue Mar 6, 2023 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@teichsta
Copy link
Contributor

teichsta commented Mar 6, 2023

Hi Bruno,

following your documentation to call job via CRON the following error occurred in my DEBIAN setup:

dev.container | /usr/bin/env: 'php': No such file or directory

I solved this adding the PATH PATH=/usr/bin:/usr/local/bin:$PATH to the cron script located unter /etc/cron.d/myscript.

Feel free to add this hint, to the documentation which might help others using janitor in combination with CRON.

Best, Thomas E.-E.

@bnomei bnomei self-assigned this Mar 7, 2023
@bnomei bnomei added the good first issue Good for newcomers label Mar 7, 2023
@bnomei bnomei closed this as completed in eef9224 Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants