How to setup cron job on Amazon Linux AMI -
i hosting tiny tiny rss site hosted on
amazon linux ami
to update feed automatically have 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 step did:
- sudo su
- cd /etc
- crontab -e
- add line */30 * * * * /usr/bin/php /var/www/html/tt-rss/update.php --feeds --quiet
but still got message "update daemon not running".
may know correct step cron job?
my first setup.
thanks, alex
you should first inspect cron log file /var/log/cron
, errors. give answer. make sure can run command on command line (/usr/bin/php /var/www/html/tt-rss/update.php --feeds --quiet
).
Comments
Post a Comment