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:

  1. sudo su
  2. cd /etc
  3. crontab -e
  4. 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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -