[Gambas-user] Crontab and Gambas executable

T Lee Davidson t.lee.davidson at gmail.com
Tue Dec 22 00:00:06 CET 2020


On 12/21/20 1:52 PM, Gianluigi wrote:
>     Don't know if it matters, but which file are you editing? /etc/crontab?
> 
> yes, with the 'crontab -e' command

If you are using `crontab -e`, then you are not editing /etc/crontab. You are editing the crontab for the user that executes 
that command. You can check what is in your per-user crontab with `crontab -l`. User crontabs should be found in 
/var/spool/crontab or /var/spool/cron/tab. User crontabs do not have a 'user' field, /etc/crontab does.

To check if the command is actually being run, you can check the /var/log/messages file or append something like 
'>/tmp/debug.out 2>&1' to the end of your crontab line.


-- 
Lee


More information about the User mailing list