TIP: Click on subject to list as thread! ANSI
echo: cbm
to: MARK LEWIS
from: JANNE JOHANSSON
date: 2017-07-05 18:12:00
subject: Using tcpser on a Pi for

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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.