*

danads

  • ***
  • 43 posts
Set up Cron for fress install osclass
« on: August 31, 2022, 12:55:09 PM »
Hi

I have installed osclass Ver802 with php7.4.30 on Linux Server

For fress install what cron line I need to install on cpanel please to update this. see pictures attach

My hosting is romarg.ro

Thanks.
« Last Edit: August 31, 2022, 01:41:46 PM by danads »

*

MB Themes

Re: Set up Cron for fress install osclass
« Reply #1 on: August 31, 2022, 02:51:37 PM »
@danads
https://docs.osclasspoint.com/cron-setup

Here are some examples. Every hosting may have specific process to create cron command.
Code: [Select]
*/5 * * * * usr/local/php5/bin/php /home/your_username/public_html/index.php -p cron -t minutely
0 * * * * usr/local/php5/bin/php /home/your_username/public_html/index.php -p cron -t hourly
0 0 * * * usr/local/php5/bin/php /home/your_username/public_html/index.php -p cron -t daily
0 0 * * 0 usr/local/php5/bin/php /home/your_username/public_html/index.php -p cron -t weekly
0 0 1 * * usr/local/php5/bin/php /home/your_username/public_html/index.php -p cron -t monthly
0 0 1 1 * usr/local/php5/bin/php /home/your_username/public_html/index.php -p cron -t yearly
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

bemtele

  • ***
  • 97 posts
Re: Set up Cron for fress install osclass
« Reply #2 on: September 03, 2022, 11:29:50 AM »
@danads
https://docs.osclasspoint.com/cron-setup

Here are some examples. Every hosting may have specific process to create cron command.
Code: [Select]
*/5 * * * * usr/local/php5/bin/php /home/your_username/public_html/index.php -p cron -t minutely
0 * * * * usr/local/php5/bin/php /home/your_username/public_html/index.php -p cron -t hourly
0 0 * * * usr/local/php5/bin/php /home/your_username/public_html/index.php -p cron -t daily
0 0 * * 0 usr/local/php5/bin/php /home/your_username/public_html/index.php -p cron -t weekly
0 0 1 * * usr/local/php5/bin/php /home/your_username/public_html/index.php -p cron -t monthly
0 0 1 1 * usr/local/php5/bin/php /home/your_username/public_html/index.php -p cron -t yearly

Is it necessary to add all the crons? My hosting provider suggested I add only one like the minute cron. So I did and now I can see that the hourly, daily and the rest are working without adding them.

*

MB Themes

Re: Set up Cron for fress install osclass
« Reply #3 on: September 03, 2022, 06:40:39 PM »
You should need hourly, daily and weekly.
If function use daily cron and you setup just hourly cron, it will not be executed  :'(
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MB Themes

Re: Set up Cron for fress install osclass
« Reply #4 on: September 25, 2023, 11:24:26 PM »
Use just hourly/daily cron.
Speed of site should not be related to cron.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots