On 2017-07-05 16:54, mark lewis : 6502enhanced@gmail.com wrote:
> en> Tcpser was also not started by CRON after a few minutes ...
>
> en> Then I typed: ./startSerial
>
> en> Tcpser started. At the moment it is running, but I don't know why
> it is not
> en> startet by CRON automatically, because the script seems to work
> good...?
>
> where, exactly, is your script?
> what, exactly, is your cron entry?
A common "problem" is that cron is run with a conservative PATH env.
variable, so it will not find the same commands as you do when you have
logged in interactively, so giving full path to stuff in /usr/local or
placed otherwise in "strange" locations (basically anything except
/bin,/sbin,/usr/bin,/usr/sbin) is more or less a must for cron jobs.
---
* Origin: *** nntp://fidonews.mine.nu *** Finland *** (2:221/6.0)
|