These are workers written to run on IronWorker, though they could, hypothetically, be slightly modified to run on any system.
Each worker represents tasks that will be kicked off via a webhook or on a schedule. Each task is standalone and simply interacts with the 2cloud API.
The following workers are necessary for the operation of the system:
This worker runs daily to let users know when there's an error with their Subscription. It retrieves a list of subscriptions that are in the grace period, and emails the user associated with the subscription to let them know they need to update their subscription or lose access to the service.
This worker runs every minute to check an IronMQ queue for messages. For each message, it retrieves the payload, then emails the email address specified in the payload with the verification code specified in the payload.