Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What's the difference between time based triggers and event based triggers?


Asked by Forrest O’brien on Dec 13, 2021 FAQ



Time-based triggers start tasks at specified times. This includes starting the task once at a specific time or starting the task multiple times on a daily, weekly, monthly, or monthly day-of-week schedule. Event-based triggers start a task in response to certain system events.
Similarly,
You can create a trigger for a set of jobs or crawlers based on a schedule. You can specify constraints, such as the frequency that the jobs or crawlers run, which days of the week they run, and at what time. These constraints are based on cron. When you're setting up a schedule for a trigger, consider the features and limitations of cron.
In respect to this, Event-based triggers should be used on critical assets that are prone to impact by external forces. For example, equipment at a facility susceptible to hurricanes or an asset with a higher emissions output that might be subject to new environmental laws. Maintenance types that use event triggers: preventive, condition-based, predictive
Besides,
By its very nature, an event trigger is part of a planned, reactive maintenance strategy. Many events are unforeseen, but that doesn’t mean you can’t plan for the unexpected.
Likewise,
In games, you trigger events when something happens. For instance, you may want to open a door when a player comes to a certain point. In these cases, we use triggers to execute some pieces of code. In order to use triggers, you have to enable them by checking the IsTrigger checkbox in the collider component.