Beruflich Dokumente
Kultur Dokumente
database server: - Host Name - host address, in most cases it is "localhost" - Username - name of the database user - Password - password for the database user - Database Name - name of the database -Prefix - prefix for the names of SkaDate software tables. Click "Next". Installation Step 4 - Core Configuration File Here you should set 777 permissions for the "$config.php" file (which is in the "internals/" folder). Click "Finish". As soon as you complete the installation you should set this file permissions back to 644. If you are not automatically directed to the Index page of the website you've just installed, simply remove the word install from the site URL. Set up cron jobs on your Cpanel using this example: /usr/local/bin/php -q /home/your-site-root-dir/public_html/cron/index.php and /usr/local/bin/php -q /home/your-site-root-dir/public_html/cron/heavy.php Note: The Cron commands may vary depending on the server configuration. Note: You should configure Cron to run the cron/heavy.php file once in 30 min. Cron Jobs setup via SSH. -Login to your server via SSH -Use cd command to access the directory containing the installed software -For example, enter cd public_html command -Run ls -l command to see the the list of directories -Run cd cron command to enter the Cron folder -Run pwd command -You will see the path to the Cron folder (e. g. /home/yoursite/public_html/cron) -Run which php command -You will see the path to PHP (e. g. /usr/local/bin/php) -Run crontab -e command -this will open the crontab file editor -To make changes to this file, press the i key on the keyboard - In the bottom left corner you will see the following message: insert You should make the Cron commands based on the paths to php and cron folder. They should look similar to the commands given below: * * * * * /usr/local/bin/php f /home/yoursite/public_html/cron/index.php */30 * * * * /usr/local/bin/php f /home/yoursite/public_html/cron/heavy.php * - the time when Cron runs /usr/local/bin/php-path to PHP -f variable /home/yoursite/public_html/cron/- path to Cron
index.php and heavy.php - Cron files After you inserted the commands, press the Escape button. The Insert message will disappear. Type: wq - this command rewrites the Cron document and closes it. Don't exit SSH if you want to check whether Cron has been set up correctly. Here is how you can do that: Copy your command (for example, /usr/local/bin/php f /home/yoursite/public_html/cron/heavy.php) and paste it. Click Enter. If there are no errors, and the following line appears [root@server cron]# the Cron Jobs have been set up properly.