Subj : Re: Cron
To   : Avon
From : Al
Date : Sat Mar 06 2021 07:13 pm

> I feel I am playing whack a mole trying to get lines in my script to run.

That's a cron thing. Cron has a very limited environment by default. Either use full paths or add the needed environment to scripts being run from cron.

> zip seemed to run but scp did not what is the best way to ensure these
> programs like htick, scp, etc. run when called by cron?

Use a full path to scp. On my slackware box it is /usr/bin/scp.

When I run hpt from cron I start it with /usr/local/bin/hpt. hpt doesn't need an environment because it has the full path to zip and unzip in it's config.

--- BBBS/Li6 v4.10 Toy-4
* Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106.2)