Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

Activity

  • spyder replied on the discussion topic welcome email
    cool. thanks mate view reply
  • spyder replied on the discussion topic welcome email
    you told me to listen to something in another post I had concerning cron jobs.  Im not sure I understand.  Is there audio instructions that I should be listening too?  can you set me on the proper path to find them? view reply
  • spyder added a new discussion topic welcome email in the group Elgg Technical Support
    I would like to set up a welcome email for new members after they verify their email address.  Are there any good plug-ins that can do this or any advice on the best way to do this?
  • spyder replied on the discussion topic Cron Jobs
    Thank you everybody for your help. I think I have this working now view reply
  • spyder replied on the discussion topic Cron Jobs
    Okay, thank you for the answer.  I am still researching this and have downloaded wget - 1.19.tar.gz.  Do I put that in my public_html/mysite.com?  I read in another post to put in the command line of Cpanel:  wget... view reply
  • spyder added a new discussion topic Cron Jobs in the group Elgg Technical Support
    I have been researching cron jobs for weeks now in trying to set up cron jobs for an elgg site.  I have read all the documentation and still don't understand how all of this works.  My hosting company is telling me they can not find a...
    • Cron is part of the Elgg installation, unless you plan to audit the code to determine whether you need it.

      Can you just post a screenshot of your cron config page on imgur or whatever?

    • It's very, very likely that wget is already installed on your server. So, no need to add this package on your own. You can ask the support of your webhoster if wget is available on your server and if it is about the path to the wget executable. If it's not installed, I would suggest to ask the support about adding wget for you or to ask them how to install it. If you have shell access on your server, you can also try a "which get" command to find out if wget is installed and if it is to find out about the path.

      With CPanel you can configure the cronjobs of Elgg easily, if the Cron administration module is available. When setting up a cronjob you can select the interval the cronjob command should be executed and then enter the Elgg-cronjob command (interval-specific). The only thing the command does is to call a certain url of your site with wget. If the Elgg engine notices a visit to such an url, it will execute the Elgg-cronjob registered by Elgg core and plugins.

      For example the "minute" cronjob command would be

      /usr/bin/wget --output-document=/dev/null http://site.url/cron/minute/ >/dev/null 2>&1

      You might need to adjust the path to the wget executable. And you need to adjust your site url to match the url of your site.

      For the other intervals the command is basically the same with only the last url segment different to match the various cron intervals (fiveminute, fifteenmin, halfhour, hourly, daily, weekly, monthly, yearly). For each of these cronjobs you would have to set up the corresponding interval in the CPanel module.

      You should create cronjobs in CPanel at least for the intervals used on your site by Elgg core and plugins. With the Croncheck plugin (https://elgg.org/plugins/1864611) you can check which intervals have cronjobs registered in addition to checking when the cronjobs have run the last time.

      If your haven't managed to set up the cronjobs in CPanel yet, you can use the Crontrigger plugin (https://elgg.org/plugins/2512029) as fallback. This plugin is only necessary if you can't manage to set up the cronjobs on the server as it's relying on at least one user being active on your site (user action triggers the check if a cron interval has been reached).

    • Thank you everybody for your help. I think I have this working now