XF 2.2 Server cron instead of xenfor

Shawn Gossman

Active member
I just recently upgraded to a dedicated server.

I am trying to speed it up and help mitigate performance hits.

WordPress cron was killing me. I have quite a few WP installs. So I disabled wp-cron and enabled my server to handle it (my hosting service).

I'm wondering if I should do the same for my XF installs (I have 3, not very active yet).

If so, is this an easy task? Or is there some kind of guide for it.

Thank you.
 

VBX Co

Active member
We did this recently - update to suit your hosting account username and XF site path:

# crontab -u username -e

Add the following (edited to suit your site/server):

* * * * * php /path/to/your/public_html/cmd.php xf:run-jobs >/dev/null 2>&1

Save and exit.

Then in the XF ACP change to use server cron:

Setup > Options > System and performance - Server based trigger
 
Last edited:
Top