> On 27. Oct 2020, at 16:10, avv. Nicola Dell'Uomo <nicola.delluomo@delluomo-morettin.com> wrote:
>
> maybe I'm missing something trivial, but I can't figure out how to cron sct(1)
>
> My user cron config works and cron log reports sct was executed, but screen temp doesn't change ...
>
> Here's my user crontab:
>
> # $OpenBSD: crontab,v 1.28 2020/04/18 17:22:43 jmc Exp $
> #
> # SHELL=/bin/sh
> PATH=/bin:/sbin:/usr/bin:/usr/sbin
> HOME=/var/log
> #
> #minute hour mday month wday [flags] command
> #
> # rotate log files every hour, if necessary
> # 35 19 * * * touch /home/nicola/sct
>
> 35 19 * * * /usr/local/bin/sct 5000
>
> # touch /home/nicola/sct was a test in order to verify I had not misconfigured crontab.
> # cron was tested with SHELL variable defined and then commented out and the result was the same.
FYI, there is a small sctd in the sct package, which probably
does exactly what you try to achieve manually here.
No comments:
Post a Comment