Jump to content

Search the Community

Showing results for tags 'minute'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • News
    • The Lounge
  • Community
    • Pre-Sales Questions
    • Support
    • The Marketplace
    • Contribute
    • Show Off
    • Feature Requests
    • Bugs
    • Contests
  • Developer Corner
    • General
    • Extensions
  • BlestaStore's Forum
  • BlestaStore's BlestaCMS
  • BlestaStore's Resellers
  • BlestaStore's BlestaForums
  • BlestaStore's Promotions
  • CubeData's Official Announcements From CubeData
  • CubeData's Peer Support
  • CubeData's Resellers
  • ModulesGarden Club's Topics
  • Blesta Addons's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Wire


Location


Interests

Found 1 result

  1. Hello blestars Long time I post in here eheh My request is simple, and me personally and one client that Im working with, asks for CORE implementation, to be able to set, also, Cron Jobs to run in "Interval", by 1 (one) minute and not by the default minimum 5 minutes, that I think is to hight to check for exemple new Incoming Emails on IMAP/POP Support Manager (Pro also) Here is the solution to implement on CORE, only 2 lines of code change in 2 files Edit: [your-blesta-instalation]/app/controllers/admin_company_automation.php Find on line: 160 $intervals = array(5=>5, 10=>10, 15=>15, 30=>30, 45=>45); Change to: $intervals = array(1=>1, 5=>5, 10=>10, 15=>15, 30=>30, 45=>45); Edit: [your-blesta-instalation]/app/controllers/cron.php Find on lines 2087/2088: // The last run date rounded down to the nearest 5 minute interval $last_run_date = date("c", floor($this->Date->toTime($last_run->start_date)/(60*5))*(60*5)); Change to: // The last run date rounded down to the nearest 1 minute interval $last_run_date = date("c", floor($this->Date->toTime($last_run->start_date)/(60))*(60)); Finally, change your server/host blesta CRON task from something like: */5 * * * * /usr/bin/php /home/[path-to-your-blesta-instalation]/index.php cron Change it to: * * * * * /usr/bin/php /home/[path-to-your-blesta-instalation]/index.php cron Thanks in advance Keep it up Regards, PV
×
×
  • Create New...