You are not logged in.
For some reason, cron just won't run a one particular command.
Here's my crontab:
*/1 * * * * /usr/bin/modprobed_db store &> /dev/null
*/1 * * * * touch ~/.config/modopodo &> /dev/nullThe second command is there just to check cron is working. And yes, it works. Each minute it creates that file.
But the first one just won't work.
I moved it underneath the second command - no difference.
I changed cronie to dcron - no difference.
But when I try this command in terminal - it works perfectly fine.
Why?
Last edited by Lockheed (2013-11-28 07:32:18)
Offline
Does that program exist?
Offline
Yes, as I said if I run it in terminal, it does the job.
Offline
What are the permissions on that program? Who owns it?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
root:root, and executable by everyone
It runs fine without sudo
If I put it in root's crontab, it still won't work
Offline
Are you aware that the modprobed_db package no longer exists in the AUR? graysky changed the name slightly.
Offline
@WonderWoofy, that is a good point. I installed the new version and now it seems to work with cron.
However, I am still puzzled why the last one didn't work in cron, while it worked in terminal.
Offline