By Wesley Derbyshire on Monday, 10 August 2015
Posted in General Issues
Replies 3
Likes 0
Views 1K
Votes 0
Do I need to set up something in Admin Tools HTACCESS file creator so that the Cron Job actually runs? While I am not certain, I believe the Cron job worked prior to adding the Admin Tools htaccess file. And while we are at, if I block access to the /administrator directory using a Directory Password in cPanel, would that also block the Cron job?
Hey Wesley,

To be honestly, I am not familiar with Admin tools.

Perhaps you can try check what your server return the response after cron run? (It will show you setup the cronjob is it working or is it blocked by admin tools security)

To check this, you can insert your email address in your cronjob configuration page > `CronMail` .
·
Monday, 10 August 2015 11:03
·
0 Likes
·
0 Votes
·
0 Comments
·
I got the Cron working, thanks for the tip about sending an email when the job runs. So, Admin Tools has no effect. I assume I do not need to set "Send email when the page loads " to Yes in the General > Settings > Maintenance option provided the Cron job is running.

Furthermore, I suspect that using this option slows down performance of the site for the end user while the job runs and reloads the page, thus the Cron job is a better method.

Regards,
Wesley
·
Tuesday, 11 August 2015 01:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Wesley,

Yep, that is correct. You can turn off the option "send email when the page loads" now, because you already have the cronjob taking care of that. Yep, cronjobs are the only way to go because when sending emails, Joomla actually needs to communicate with the respective mail server and these are normally bottlenecks that anyone would want to queue!
·
Tuesday, 11 August 2015 02:10
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post