On Thu Nov 21, 2024 at 1:19 PM CST, Dan wrote:
>
> Hello,
>
> I'm trying to test in my dev environment the first implementation
> of a web app that should run based on the result of some shell scripts
> started by crontab.
>
> Problem arising immediately is that I'm not able to get crontab running 
> properly for my local user and the system seems not getting any change
> to the cron tables defined below.
>
> cat /var/cron/tabs/myuser:
>
> # /var/cron/tabs/myuser - myuser's crontab
> #
> SHELL=/bin/sh
> PATH=/bin:/sbin:/usr/bin:/usr/sbin
> HOME=/var/log
> #
> #minute hour    mday    month   wday    [flags] command
> #
>
> 6       *       *       *       *  /bin/sh/home/MyNewProject/Public/pdfwriter
You're missing a space between /bin/sh and /home.*

Since you're cat-ing the crontab directly, I feel the need to ask: are you using
`crontab -e' to edit the crontab? This ensures the file has the correct fields,
is installed correctly, and most importantly, _notifies_ cron that it has
changed. You can also use `crontab -l' instead of `cat'; its bit easier at
least.

As always, you should probably start with thoroughly reading the relevant man
pages.

Attachment: signature.asc
Description: PGP signature

Reply via email to