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

Works from cli, not from script #31

Closed
luisrsiu opened this issue Feb 22, 2018 · 3 comments
Closed

Works from cli, not from script #31

luisrsiu opened this issue Feb 22, 2018 · 3 comments

Comments

@luisrsiu
Copy link

Need help please, dont know what am i doing wrong. The following line:

brother_ql_create --model QL-710W /home/administrador/etiquetas/etiqueta.png > /home/administrador/etiquetas/etiqueta_monochrome.bin

works when running the script from the command line, but outputs a file of length 0 when called by a cron script. Thank you.

@pklaus
Copy link
Owner

pklaus commented Feb 22, 2018

As a first idea: Check, where brother_ql_create is installed with which brother_ql_create and provide that info here. Try to use that absolute path in your your crontab.

@luisrsiu
Copy link
Author

Did what you suggested, by using the absolute path it works like a charm. Thank you very much for your help, really appreciate it; the project is already up and running!

@pklaus
Copy link
Owner

pklaus commented Feb 23, 2018

I'm happy I was able to help.
If you can make good use of the project, I would be glad to hear what you use it for and what you like about it. You could send me an email (address to be found on my github account page: https://github.com/pklaus). Thanks!

@pklaus pklaus closed this as completed Feb 27, 2018
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