11
votes

I am hosting Tiny Tiny RSS site hosted on

Amazon Linux AMI

To update the feed automatically I have to run following cron job.

Reference http://tt-rss.org/redmine/projects/tt-rss/wiki/UpdatingFeeds

*/30 * * * * /usr/bin/php /var/www/html/tt-rss/update.php --feeds --quiet

Here is the step I did:

  1. sudo su
  2. cd /etc
  3. crontab -e
  4. add this line */30 * * * * /usr/bin/php /var/www/html/tt-rss/update.php --feeds --quiet

But I still got the message "Update Daemon is not running".

May I know is this correct step for cron job?

My first setup.

Thanks, Alex

6
Can you post the result of $ /usr/bin/php /var/www/html/tt-rss/update.php --feeds - mrcrgl
This looks like something that is run once every 30 minutes and once complete stops, rather than it being a daemon. Unfortunately the link povided doesn't actually link to the instructions. ;) - DanielM

6 Answers

4
votes

You should first inspect the cron log file /var/log/cron and look for any errors. This will probably give you the answer. Also make sure you can run the command successfully on the command line (/usr/bin/php /var/www/html/tt-rss/update.php --feeds --quiet).

3
votes

This sounds like crond is not running. In which case:

service crond start
chkconfig crond on
3
votes

You should enter these commands on Amazon Linux 2:

sudo systemctl start crond
sudo systemctl enable crond
1
votes

Please check the spaces, it could be because of spaces are not placed correctly

1
votes

Simply do : * * * * * wget -o - -q -t 1 "your url with cron file"

0
votes

Please remove the "--quiet" part from your cron command and check the log and feed again