Skip to content
Snippets Groups Projects
Commit 063e5d1e authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Update readme.md

parent 2dfcc717
No related branches found
No related tags found
1 merge request!47Resolve "Email to technician"
Pipeline #
......@@ -175,6 +175,15 @@ server {
- extract static files and make them available via nginx: `./manage.py collectstatic`
- you start application by starting gunicorn and nginx: `service gunicorn start`, `service nginx start`
## Cron jobs (weekly emails)
If weekly emails are required then cron must be edited to fire periodically django function that send emails.
```
> crontab -e
*/5 * * * * source /home/ubuntu/.bashrc && source /home/ubuntu/work/your-project/bin/activate && python /home/ubuntu/work/your-project/src/manage.py runcrons > /home/ubuntu/cronjob.log
```
## Operations
### Public holidays
......
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