[Gambas-user] Crontab and Gambas executable

Jesus Guardon ea7dfh at ea7dfh.com
Mon Dec 21 18:32:37 CET 2020


El 21/12/20 a las 18:11, Gianluigi escribió:
> Yes I think it is active since 'systemctl status cron' replies to me this:
> cron.service - Regular background program processing daemon
>       Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor
> preset: enabled)
>       Active: active (running) since Mon 2020-12-21 09:38:55 CET; 8h ago
>       ...


Hi, Gianluigi

Don't know if it matters, but which file are you editing? /etc/crontab?

It seems to me it's much better to add a new file in any of these 
folders, depending on your needs:

/etc/cron.d
/etc/cron.daily
/etc/cron/hourly , etc

Also, be sure you left no spaces or blank lines at the beginning of your 
cron file, being or not comments as #my cron file

If none of the above works for you, try to add the system path above 
your cron command:

PATH=/usr/bin:/usr/local/bin: and so on.

Hope it helps, regards!

Jesus


More information about the User mailing list