WHMCS Cron Optimsiation

Hey all.

I am certain most of the hosts right here utilizing WHMCS would have had a problem with WHMCS automation in some unspecified time in the future.

We have lately up to date our crontab to run every cron module manually. This has already saved numerous hours debugging cron points (cron not having sufficient reminiscence or a plugin inflicting the automation to cease fully, ensuing within the remaining duties not being run)

Utilizing information from that is the cron jobs schedule (most of those duties run inside a number of seconds).

These cron instructions run each 2 minutes after 3 pm. Be happy to regulate as required.

0 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –CurrencyUpdateExchangeRates
2 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –CurrencyUpdateProductPricing
4 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –CreateInvoices
6 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –AddLateFees
8 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –ProcessCreditCardPayments
10 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –InvoiceReminders
12 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –DomainRenewalNotices
14 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –DomainStatusSync
16 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –DomainTransferSync
18 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –CancellationRequests
20 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –AutoSuspensions
22 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –AutoTerminations
24 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –FixedTermTerminations
26 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –CloseInactiveTickets
28 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –AutoPruneTicketAttachments
30 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –AffiliateCommissions
32 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –AffiliateReports
34 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –EmailMarketer
36 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –CreditCardExpiryNotices
38 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –SslSync
42 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –OverageBilling
44 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –AutoClientStatusSync
46 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –UpdateDomainExpiryStatus
48 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –TicketEscalations
50 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –CheckForWhmcsUpdate
52 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –DatabaseBackup
54 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –DataRetentionPruning
56 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –SslReissues
58 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –ServerUsageCount
0 16 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –ServerRemoteMetaData
4 16 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –EmailCampaigns
5 16 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –ProcessEmailQueue

# i might recommend operating these crons early within the morning and adjusting your unique minute cron to exclude these duties

2 16 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –TenantUsageMetrics
40 15 * * * /decide/alt/php74/usr/bin/php /path-to-whmcs/public_html/crons/cron.php do –UpdateServerUsage

🔥 Hot and trending web hostings deals 🔥

HostingsCoupons.com - Web Hostings Coupons, Sales, Deals and Discounts
Logo