Last active
January 26, 2021 12:27
-
-
Save kmkmjhyiiiu/dc759c172cdd5d25631cf93070ef7ced to your computer and use it in GitHub Desktop.
Run artisan command every second
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cd "/var/sunlounge/prod"; | |
while true; do | |
echo "Running Command:"; | |
php artisan route:call api/vipps/poll; | |
echo "Done!"; | |
sleep 1 | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment