TOPIC: need more details about how to setup cron job

need more details about how to setup cron job 26 Aug 2017 08:54 #2013

Hi

I tried to Follow the introductory steps, but have some questions:
1.create new directory with cryptic name outside public accessible part of server file system
rename scrip file with another cryptic name and move it to new created directory

=> www.screencast.com/t/4yPbhdUP
www.screencast.com/t/aLsFdv5BLd

2. adjust script named constant JPATH_BASE to exactly fit the full path to Joomla document root on the server (e.g. for Apache server can be found in Joomla Administrator System Information/PHP Information - Apache Environment DOCROOT).
=> No idea how to do this. please provide sample screenshot

3.(for recache scripts) set cron job run conditions inside script code (some detailed description included in script template)
=> No idea how to do this. please provide sample screenshot

4.set cron job definition in server cron table direct or using provider CPanel. Details of cron job settings are given on page How to add jobs to cron or in server documentation.


Joomla version : 3.7
JotCache version : 6.0.2
site template:
system plugins :
The administrator has disabled public write access.

need more details about how to setup cron job 28 Aug 2017 08:31 #2015

Notes to your questions:
#1 All is OK
#2
In Joomla System Informations/PHP Informations:

also possible to see in Joomla Global Configuration (only in case when you have logs stored in Joomla default directory):

#3 For given DOCUMENT_ROOT change in cron_recache_mc.php:
define('JPATH_BASE', '/var/www/joomla/');
define('JOTCACHE_ROOT_URL', 'https://<your_web_domain>');
define('JOTCACHE_PLUGIN_NAME', 'recache');
$JotcachePluginParams = array();
$JotcachePluginStates = array();
$JotcacheRecacheWhere = array();

#4 Ask your hosting company how to arrange cron run
The administrator has disabled public write access.

need more details about how to setup cron job 28 Aug 2017 15:03 #2016

thanks for the screenshots, it helps a lot.
The administrator has disabled public write access.
Time to create page: 0.246 seconds
We have 83 guests and no members online
Copyright © 2015 JotComponents
We have 83 guests and no members online
Copyright © 2017 JotComponents