Installation
Thanks to AxiSpark.js, you can easily install the Schedule Plugin in your project. Follow the steps below to get started.
Job Types
The Schedule Plugin supports various job types that can be used to schedule and manage jobs in your application. Below are the available job types with descriptions of their functionality.
Creating a Job
In the Schedule Plugin, you can create jobs by 2 different ways. The first way is via decorators (@Cron, @Interval, @Date, @Timeout), and the other way is dynamically vía SchedulerService. Below are examples of both methods.
Managing a Job
The Schedule Plugin provides a set of methods that allow you to manage jobs that have been created using either decorators or the SchedulerService. You can use these methods to start, stop and delete jobs as needed.