![]() |
|
Set up Cron for Elgg - Printable Version +- Sentora Support Forums (https://senforums.mach-hosting.com) +-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5) +--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32) +---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36) +---- Thread: Set up Cron for Elgg (/showthread.php?tid=1176) |
Set up Cron for Elgg - clu55ter - 02-27-2015 I have a elgg site running on my server and I need to setup crontab to run regualarly but unable to set up cron for elgg from sentora. Sentora cron asks for a location of my cron script in my directories but the php script does not exist there so I get the following: Error: Your script does not appear to exist at that location. Below is the instructions for elgg cron setup The crontab needs to specify a script or command that will hit the Elgg cron pages. Two commonly available programs for this are GET and wget. You will need to determine the location of one of these on your server. Your crontab also needs to specify the location of your website. # Crontab example. # # This file is an example of triggering Elgg cron events. It hits a URL to # trigger the events. For testing, you can simulate the cronjob by loading the # URL in a browser. # # See http://learn.elgg.org/en/stable/admin/cron.html for more information # # Location of your site (don't forget the trailing slash!) ELGG='http://www.example.com/' # Location of lwp-request LWPR='/usr/bin/lwp-request' # Make GET request and discard content GET="$LWPR -m GET -d" # The crontab # Don't edit below this line unless you know what you are doing * * * * * $GET ${ELGG}cron/minute/ */5 * * * * $GET ${ELGG}cron/fiveminute/ 15,30,45,59 * * * * $GET ${ELGG}cron/fifteenmin/ 30,59 * * * * $GET ${ELGG}cron/halfhour/ @hourly $GET ${ELGG}cron/hourly/ @daily $GET ${ELGG}cron/daily/ @weekly $GET ${ELGG}cron/weekly/ @monthly $GET ${ELGG}cron/monthly/ @yearly $GET ${ELGG}cron/yearly/ # reboot is deprecated and probably doesn't work @reboot $GET ${ELGG}cron/reboot/ RE: Set up Cron for Elgg - TGates - 02-28-2015 Have you checked this post out: http://forums.sentora.org/showthread.php?tid=491 RE: Set up Cron for Elgg - Lane - 05-06-2015 Elgg Cron set up documentation can be found here:https://www.easycron.com/cron-job-tutorials/how-to-set-up-cron-job-for-elgg. |