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

PHP-Serial Fails when run from Cron #15

Open
pBra1n opened this issue Nov 6, 2015 · 1 comment
Open

PHP-Serial Fails when run from Cron #15

pBra1n opened this issue Nov 6, 2015 · 1 comment

Comments

@pBra1n
Copy link

pBra1n commented Nov 6, 2015

Created a PHP script to read data froma serial port and store it in a MySql Database. This allows me to store gauge data as it is captured every 'n' minutes.

When I run the script via the ocmmand line, it runs just fine.

I set up a cron job to run it and I get the following error every time:

No stty availible, unable to run.

Checked DMESG and the TTY is there.. go back and run it via the command line and it runs.

@ciprogrammer
Copy link

Same here.

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