An Extension to Single Events of the MongoDB Atlas Trigger Scheduling Mechanism
摘要
The current release of MongoDB Atlas supports scheduled triggers that are based on periodic events only (e.g., to generate a weekly report, to send an automated monthly email newsletter). However, although non-periodic events, also called single events, are needed in many cases of today’s applications (e.g., to schedule an increase of the salaries of employees valid from some specific future date, to enact reductions of product prices valid for a given period), MongoDB Atlas does not provide any support for defining scheduled triggers considering single events. In this paper, we propose the trigger scheduling mechanism of MongoDB Atlas to be extended to also support single events and, thus, a full CRON syntax to be adopted in order to make the new mechanism available to users. Our proposal is illustrated via a practical example.