Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.
/ workers Public archive

Workers written to run on IronWorker that help keep our system running

Notifications You must be signed in to change notification settings

2cloud/workers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

2cloud Workers

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.

Workers

The following workers are necessary for the operation of the system:

StripeCallback

This worker handles callbacks from the Stripe API and translates them into 2cloud Subscription requests.

ExpiredSubscriptionEmailer

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.

EmailVerifier

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.

About

Workers written to run on IronWorker that help keep our system running

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published