mivita/cron_script_server.sh
Kevin Adametz bfa3bb1df4 08 2024
2024-08-05 12:05:24 +02:00

7 lines
No EOL
304 B
Bash

#!/bin/bash
echo $(date) # Will print the output of date command
/usr/bin/php74 -v
/usr/bin/php74 ../artisan business:store 0 0 2>&1
/usr/bin/php74 ../artisan user:cleanup 2>&1
# php /path/to/artisan schedule:run 1>> /dev/null 2>&1
# cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1