Skip to content

Commit

Permalink
test cron
Browse files Browse the repository at this point in the history
  • Loading branch information
Momik Shrestha committed Jan 17, 2024
1 parent 57d255f commit dcfd74c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

php artisan test && \
#php artisan test && \
npx stylelint "resources/**/*.scss" --fix && \
npm run lint && \
npx lint-staged && \
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.develop
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ WORKDIR /opt/apps/laravel-in-kubernetes

RUN touch laravel.cron && \
echo "* * * * * cd /opt/apps/laravel-in-kubernetes && php artisan schedule:run" >> laravel.cron && \
echo "*/10 * * * * cd /opt/apps/laravel-in-kubernetes && php artisan command:FillOrgRegistrationType" >> laravel.cron && \
echo "@reboot cd /opt/apps/laravel-in-kubernetes && php artisan optimize:clear" >> laravel.cron && \
crontab laravel.cron

Expand Down

0 comments on commit dcfd74c

Please sign in to comment.