update the installation text for the cron setup
This commit is contained in:
parent
a97e7b2758
commit
3aa6e96904
@ -204,17 +204,17 @@ using web forms.
|
|||||||
****************************************************************************
|
****************************************************************************
|
||||||
****************************************************************************
|
****************************************************************************
|
||||||
|
|
||||||
8. Set up a cron job or scheduled task to run the poller once every 10-15
|
8. Set up a cron job or scheduled task to run the Cron manager once every 10-15
|
||||||
minutes to pick up the recent "public" postings of your friends. Example:
|
minutes to perform background processing and maintenance. Example:
|
||||||
|
|
||||||
cd /base/directory; /path/to/php include/poller.php
|
cd /base/directory; /path/to/php Zotlabs/Daemon/Master.php Cron
|
||||||
|
|
||||||
Change "/base/directory", and "/path/to/php" as appropriate for your situation.
|
Change "/base/directory", and "/path/to/php" as appropriate for your situation.
|
||||||
|
|
||||||
If you are using a Linux server, run "crontab -e" and add a line like the
|
If you are using a Linux server, run "crontab -e" and add a line like the
|
||||||
one shown, substituting for your unique paths and settings:
|
one shown, substituting for your unique paths and settings:
|
||||||
|
|
||||||
*/10 * * * * cd /home/myname/mywebsite; /usr/bin/php include/poller.php
|
*/10 * * * * cd /home/myname/mywebsite; /usr/bin/php Zotlabs/Daemon/Master.php Cron
|
||||||
|
|
||||||
You can generally find the location of PHP by executing "which php". If you
|
You can generally find the location of PHP by executing "which php". If you
|
||||||
have troubles with this section please contact your hosting provider for
|
have troubles with this section please contact your hosting provider for
|
||||||
|
Reference in New Issue
Block a user