You are not logged in.

#1 2014-07-04 07:01:24

Zygote
Member
Registered: 2013-01-15
Posts: 77

[SOLVED] cronie file not working

Hey all,

So Ive installed Observium on my Arch box and I created a cronie file and saved it to /etc/cron.d/observium

33  */6   * * *   root    /opt/observium/discovery.php -h all >> /dev/null 2>&1
*/5 *     * * *   root    /opt/observium/discovery.php -h new >> /dev/null 2>&1
*/5 *     * * *   root    /opt/observium/poller-wrapper.py 1 >> /dev/null 2>&1

However, its seemingly not running, or at least not working. The Cronie systemd service is running, so Im not sure what the hold up is. Any ideas?

Last edited by Zygote (2014-07-04 12:45:18)

Offline

#2 2014-07-04 08:32:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] cronie file not working

Does it work if you run it manually from the command line?
Are you sure about the 'root' part?
Why not log the output?

Offline

#3 2014-07-04 10:51:00

Zygote
Member
Registered: 2013-01-15
Posts: 77

Re: [SOLVED] cronie file not working

running the commands manually work just fine. Ill see if I can log the output and see if I figure anything out, but not sure what the problem might be.

Offline

#4 2014-07-04 12:44:45

Zygote
Member
Registered: 2013-01-15
Posts: 77

Re: [SOLVED] cronie file not working

Nevermind.. Logs showed the obvious problem. Forgot to add the symlink from python2.7 to /usr/bin/python

Last edited by Zygote (2014-07-04 12:45:08)

Offline

Board footer

Powered by FluxBB