Skip to content

Commit

Permalink
build: add cron
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Jun 17, 2024
1 parent 62739f3 commit 55251dd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/s6-rc.d/cron/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
laravel
5 changes: 5 additions & 0 deletions docker/s6-rc.d/cron/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh -e

echo "* * * * * php /var/www/artisan schedule:run >> /dev/null 2>&1" | crontab -

crond -f -l 2
1 change: 1 addition & 0 deletions docker/s6-rc.d/cron/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
longrun
Empty file.

0 comments on commit 55251dd

Please sign in to comment.