One-time setup — 24h compile at 23:40-23:55 Addis

Do this once. After that, compile and all daily emails run automatically. No human intervention.

What gets scheduled (one cron job that triggers at the right times):

All times are Africa/Addis_Ababa. Uses current day (not yesterday).

Click the button below. If your server allows it, the cron will be added for you.

If the button didn't add it, do this:

  1. Open your hosting panel (cPanel or DirectAdmin).
  2. Go to Cron Jobs.
  3. Add a new cron: every minute (minute *, every other field *).
  4. In "Command", paste this exactly (runs only at 23:40, 23:45, 23:50, 23:55 Africa/Addis_Ababa; other minutes exit immediately):
* * * * * cd "/home/afrinerr/domains/afrinex.shop/public_html/api-backend/admin" && php cron-end-of-day-compile.php --addis-schedule >> "/home/afrinerr/domains/afrinex.shop/public_html/api-backend/admin/payment-archives/cron-compile.log" 2>&1

Optional: set EOD_ADDIS_SCHEDULE=1 in api-backend/.env instead of passing --addis-schedule. Legacy once-daily line (runs all steps at 23:55): 55 23 * * * cd "/home/afrinerr/domains/afrinex.shop/public_html/api-backend/admin" && php cron-end-of-day-compile.php >> "/home/afrinerr/domains/afrinex.shop/public_html/api-backend/admin/payment-archives/cron-compile.log" 2>&1

← Payment archive