Hello,
I configured Curator in /root/.curator/curator.yml and in the same path there is a action.yml where I configured actions to run (cretaing and deleting snapshots).
With "sudo crontab -e" I creted a cronjob for Curator to run every night. 0 2 * * * curator --config ~/.curator/curator.yml ~/.curator/action.yml
Now I get an E-Mail from Cron Daemon which is saying "/bin/sh: 1: curator: not found".
My guess is that it doesn't like the term "curator" without any path, yet the command works when using it in the shell. I am pretty sure, that I've read on another post, that putting it like this into Crontab should work.
Can you please help me out?
EDIT: I will try it with "/usr/local/bin/curator" and reply if that heped.
Using "/usr/local/bin/curator" instead of just "curator" was the right thing to do.
The Cronjob now runs correctly. 0 2 * * * /usr/local/bin/curator --config ~/.curator/curator.yml ~/.curator/action.yml
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.