Kernel_Killer
July 11th, 2004, 03:48
This is quite odd. Usually I could add a cron job manually, run `crontab /etc/crontab` and it would work no problem. Now I can't get one to work on this new 4.10 system. I just recently updated to 4.10 from 4.9, and hoping that's not the problem.
I added the cron job like this:
#su
password:
# crontab -e
added:
* 2 * * * root /home/VileSYN/xmms.sh
Then :wq of course.
Cron doesn't execute it, or even send an E-mail. I've been trying this since 2:00am. And even when I tried specific times like:
5 2 * * *
10,15 2 * * *
It still wouldn't work. The script executes just fine as a user. Here are the specs of the file:
/home/VileSYN# ls -l xmms*
-rwxr-xr-x 1 root wheel 98 Jul 11 01:58 xmms.sh
I even had it owned by VileSYN:wheel and still no difference. Another thing I tried was:
* 2 * * * root /bin/sh /home/VileSYN/xmms.sh
and
* 2 * * * root -exec /home/VileSYN/xmms.sh
I think that's all I tried. Here's the script:
#!/bin/sh
exec xmms "/home/VileSYN/dcc/409-forgotten_tears_(boys_dont_cry_by_haujobb)-fwyh.mp3"
This script works with PWD as /home/VileSYN and as any other directory executed with /home/VileSYN/xmms.sh .
Anyone have any ideas? TIA
I added the cron job like this:
#su
password:
# crontab -e
added:
* 2 * * * root /home/VileSYN/xmms.sh
Then :wq of course.
Cron doesn't execute it, or even send an E-mail. I've been trying this since 2:00am. And even when I tried specific times like:
5 2 * * *
10,15 2 * * *
It still wouldn't work. The script executes just fine as a user. Here are the specs of the file:
/home/VileSYN# ls -l xmms*
-rwxr-xr-x 1 root wheel 98 Jul 11 01:58 xmms.sh
I even had it owned by VileSYN:wheel and still no difference. Another thing I tried was:
* 2 * * * root /bin/sh /home/VileSYN/xmms.sh
and
* 2 * * * root -exec /home/VileSYN/xmms.sh
I think that's all I tried. Here's the script:
#!/bin/sh
exec xmms "/home/VileSYN/dcc/409-forgotten_tears_(boys_dont_cry_by_haujobb)-fwyh.mp3"
This script works with PWD as /home/VileSYN and as any other directory executed with /home/VileSYN/xmms.sh .
Anyone have any ideas? TIA