Cron Jobs Reference

Cron Jobs GuideCron Jobs are specific lines of code called commands which perform a specific function based on a set time parameter. The following guide will help you set various cron jobs for the Sabali Co features. The features that possibly require cron jobs based on your server configuration are; [1] PHP Search Engine [2] Sitemap Generator [3] Live Chat Logs Also included are two cron jobs that can create automatic backups and debug file permissions across your server. Time ParametersThe time parameter variable is designated by assigning values to five specific values[1] Hour [2] Minute[3] Day [4] Month[5] Weekday Common SettingsOnce per Minute = * * * * *Once per Five Minutes = */5 * * * *Once per Fifteen Minutes = */15 * * * *Twice per Hour = 0,30 * * * *Once per Hour = 0 * * * *Twice per Day = 0 0,12 * * *Once per Day = 0 0 * * *Once per Week = 0 0 * * 0 1st & 15th of the Month = 0 0 1,15 * * Once per Month = 0 0 1 * * Once per Year = 0 0 1 1 * * Automatic Backup Cron Job*Recommended setting = once per month0 0 1 * * /usr/local/bin/php /home/sabalico/fullbackup.phpDebug File Permissions Cron Job*Recommended setting = once per hour0 * * * *cd /home/sabalico/public_html ; find -type f | xargs chmod 644 ; find -type d | xargs chmod 755 ; chmod 750 . -cFile Permissions SettingsRoot Folder (will need to manually set via code editor or cPanel file manager)/ home / [username] => 711 Regular Folder = Regular File = Writeable Folder = Writeable File = Search Folder Permissions Cron Job*Recommended setting = once per five minutes*/5 * * * * cd /home/sabalico/public_html/search/ && echo Success find -type f | xargs chmod 777 ; find -type d | xargs chmod 777 ; chmod 777 . -cSitemaps Folder Permissions Cron Job*Recommended setting = once per hour0 * * * * cd /home/sabalico/public_html/sitemaps/ && echo Success find -type f | xargs chmod 777 ; find -type d | xargs chmod 777 ; chmod 777 . -c