Cron jobs
can be very useful when you need to do the same thing over and over again. Developers
can set up cron jobs to do things for them on a virtual private server or any
Unix-like operating system. This saves a lot of time, allowing developers to do
other important things.
Cron has
been popular for decades because it's easy to use and available everywhere. The
downside to this flexibility is that cron job maintenance and debugging can be
a real headache. Cron jobs also have several potential pitfalls, like excessive
pooling or a steep learning curve of completely separate syntax, where
configuring complex cron jobs can be lenghty.
However,
even simple cron jobs can be very useful for many applications, where a simple
cron job can save hours of repetitive work.
To make
integration of some cron jobs easier for developers, we have created Mars
engine events, that can handle simple cron jobs within a simple dialogue,
without using native cron job syntax. While we still maintain full support for
standard and more complex jobs, for developers to use as needed, Mars engine
events are created to save time and make your life as developer a little bit easier.
To use a
Mars engine event, all you have to do go to your project settings > events
and click on a add new event button.
Mars engine
events are basically simple cron jobs that will be fired in defined intervals
and to use them you just need to define a desired interval, call for the script
you want to be executed and to name an event.
You can
manage all your project events from the project settings page.