I am running AntiX-13.2 on desktop PC with Intel Pentium 4 1.7 GHz processor, Nvidia GeForce2 MX/MX 400 graphics, 512 MB RAM, 1 GB swap and 13 GB HD.
I am have a problem with crontab. I am running a bash script from user's crontab but no effect, although cron daemon execute the assigned cronjob.
For test the crontab problem, I used two scripts that I known well function it. These scripts show a systray icon for layout keyboard used.
The first script (xkblayout_indicator.sh) use yad --notification for create the systray icon. Then, when click on icon, the second script (sp_chr-xkb.sh) is executed, showing a dialog box with the layout keyboard. Below are screenshots:
first:
xkblayout_indicator.sh bash script, located in $HOME directory:
second:
sp_chr-xkb.sh bash script, located in /usr/local/bin directory:
When xkblayout_indicator.sh bash script is executed from terminal, result:
This discard that script is not source problem.
But after add the path to script in user's crontab file:
and system reboot, no generate systray icon:
The permission of second script are well:
Here the antixers (sudoers file) in / etc/sudoers.d directory:
My user is added to crontab group:
Code: Select all
tesistas@Tesistas:~
$ id
uid=1000(tesistas) gid=1000(tesistas) groups=1000(tesistas),7(lp),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),100(users),102(crontab),103(fuse),109(netdev),110(mlocate),1001(storage)
I searched on the internet but no I have not found solution.
I wait that you can help me..!
Thank you for read.