Can't use cron to check IMAP if "Allow guests to browse the forum" disabled
May 11, 2018, 12:00:32 am
Hi, I'm trying to use cron to check IMAP for topic replies (through email_imap_cron.php). It works fine if "Allow guests to browse the forum" is enabled, but if I uncheck this box, the script diverts to the login page without checking the IMAP box. Bug or am I doing something wrong?
Re: Can't use cron to check IMAP if "Allow guests to browse the forum" disabled
Reply #1 – May 11, 2018, 04:12:51 am
I just checked this on my local install, it still runs when guest browsing is disabled just less frequently due to the amount of times I can access it. The cron task is run by people accessing the forum as a scheduled task. You can set up a manual cron to run it every x mins rather than having to rely on people accessing the forum.
Re: Can't use cron to check IMAP if "Allow guests to browse the forum" disabled
Reply #3 – May 17, 2018, 10:06:43 pm
Thanks, that seems to work.