mirror of https://github.com/requarks/wiki
parent
93d07daf8d
commit
411f245f35
@ -1,7 +1,10 @@
|
||||
# About jobs
|
||||
|
||||
The files in this directory can be executed from the terminal like this:
|
||||
The files in this directory can be executed manually from the terminal like this:
|
||||
|
||||
````bash
|
||||
node server/core/worker.js --job=send-comment-notification-emails
|
||||
````
|
||||
|
||||
To trigger a job on schedule automatically, you need to add an entry to the file `server/app/data.yml` under the `jobs`
|
||||
key. For the `schedule` values, refer to [ISO 8601 durations](https://en.wikipedia.org/wiki/ISO_8601#Durations).
|
||||
|
Loading…
Reference in new issue