Skip to content
Snippets Groups Projects
Commit cc2aa9fb authored by Joost Hemmen's avatar Joost Hemmen :basketball:
Browse files

create crontab.txt in init if not exists. remove crontab.txt from repo

parent 0642a854
No related branches found
No related tags found
1 merge request!152Resolve "wrong path in cv sync job"
Pipeline #383175 failed
......@@ -25,6 +25,7 @@ services:
volumes:
- "./data/minio/certs/:/tmp/certs"
- "./nginx/html/:/home/tsm/html"
- "./cron:/tmp/cron"
# Summary
......
......@@ -22,4 +22,9 @@ chmod a+x /home/tsm/html/css
chmod a+x /home/tsm/html/images
chmod -R a+r /home/tsm/html
tree -pugfi /home/tsm/html
\ No newline at end of file
tree -pugfi /home/tsm/html
# Create crontab.txt if it not already exists
if [ ! -f "/tmp/cron/crontab.txt" ]; then
touch "/tmp/cron/crontab.txt"
fi
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