Skip to main content

System Crons

Timezone: GMT+0

  • NotifySpotPatients @Cron('15,45 * * * ') Schedule: at 15 and 45 minutes past every hour, every day, regardless of the day of the week or month. Description*: Update patient charges (Retrives from Greenway), Update patient appointments, Update patient, filter and send notification to patient with filtered appointments

  • getAppointments @Cron('15 2 * * ') Schedule: At 2:15 AM every day, regardless of the day of the week or month. Description*: Get new appointments from Greenway, add new patients, update old patient.

  • fullUpdate @Cron('00 3 * 0') Schedule: At 3:00 AM every Sunday Description*: Pull and update appointments for existing patients.

  • updateAppointments @Cron('30 4,11 * 1-5') Schedule: At 4:30 AM and 11:30 AM from Monday to Friday Description*: Pull and update appointments for existing patients for last 10 days.

  • automaticPayments @Cron('00 03 * * ') Schedule: At 3:00 AM every day, regardless of the day of the week or month Description*: Pull charges from Greenway, update them locally, notify or withdraw money

  • sendReminders @Cron('15,45 * * * ') Schedule: At 15 and 45 minutes past every hour, every day, regardless of the day of the week or month Description*: Sends reminders to patients about upcoming appointments.

  • sendBillingNotifications @Cron('00 /2 * ') Schedule: Every two minutes past the hour, every day, regardless of the day of the week or month Description*: Notify all unpaid & unnotified charges (for charges that have patient_notified: false), send notifications. Limiting by 100 patients.

  • sendBillingReminders @Cron('00 /2 * ') Schedule: Every two minutes past the hour, every day, regardless of the day of the week or month. Description*: Notify all unpaid & unreminded charges (for charges that have patient_notified: true), exclude patients, notified within 2 weeks, Send notifications. Limiting by 100 patients.

  • sendSecondBillingReminders @Cron('00 /2 * ') Schedule: Every two minutes past the hour, every day, regardless of the day of the week or month. Description*: Notify all unpaid & reminded & notified (charge has patient_notified: true) charges after 2 weeks of last reminder, exclude patients, notified within 2 weeks, Send notifications. Limiting by 100 patients.

  • fullChargesUpdate @Cron('00 3 * 1-5') Schedule: At 3:00 AM from Monday to Friday. Description: Performs a full update of charges for all customers and their associated patients.

  • getLongPoll @Cron('00 10 * 6') Schedule: At 10:00 AM every Saturday. Description: Get new patients based on appointments types for last 30 days.