Skip to content
Snippets Groups Projects
Commit c544d454 authored by Hugo NOUTS's avatar Hugo NOUTS
Browse files

wip application/services

parent a046ddc0
No related branches found
No related tags found
No related merge requests found
docs/application/monthly-service.png

11.2 KiB

!!! warning ""
:construction: Section under Construction :construction:
## Cron Services - Monthly Report
In order to build an automated task within our cozy-stack, we can create *services* which are javascript files called from a trigger job.
On Ecolyo, we add a trigger that is launched every month with a *cron* attribute. On that trigger we link a .js script then we instanciate this script with cozy-client.
### Service.js
### Manifest Config
![Manifest.webapp](monthly-service.png)
!!! note "Cron Definition"
[cozy-stack](https://docs.cozy.io/en/cozy-stack/jobs/#cron-syntax)
### Testing
\ No newline at end of file
......@@ -31,6 +31,7 @@ nav:
- Application:
- Description: application/description.md
- Scaffolding: application/scaffolding.md
- Services: application/services.md
- Gitflow: application/gitflow.md
- Deploy: application/deploy.md
- Konnectors:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment