Girish Ramakrishnan 8 жил өмнө
parent
commit
55a2f294d5
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  1. 4 0
      index.php

+ 4 - 0
index.php

@@ -87,7 +87,11 @@ sftp -P 2222 surfer.nebulon.info:public/
 <h2>Cron</h2>
 <p>
   Just put a file called crontab to the directory /app/data and it will picked up at next app restart. It has to be in the cron syntax without username.
+  For example, the following crontab updates feeds every hour:
 </p>
+<pre>
+0 * * * * php /app/code/update.php --feeds
+</pre>
 <p>
   Commands are executed as the user www-data. See <a href="https://linux.die.net/man/5/crontab">manpage</a> for a description of the file.
 </p>