update shell
parent
266632ec35
commit
e56a03f683
|
@ -13,7 +13,7 @@ cd "$PROJECT_DIR"
|
||||||
echo "[$(date '+%Y-%m-%d %H:%M:%S')] Starting perizinan data sync" >> storage/logs/cron.log
|
echo "[$(date '+%Y-%m-%d %H:%M:%S')] Starting perizinan data sync" >> storage/logs/cron.log
|
||||||
|
|
||||||
# Run the sync command
|
# Run the sync command
|
||||||
php artisan perizinan:sync >> storage/logs/cron.log 2>&1
|
php artisan perizinan:sync --all >> storage/logs/cron.log 2>&1
|
||||||
|
|
||||||
# Log completion
|
# Log completion
|
||||||
echo "[$(date '+%Y-%m-%d %H:%M:%S')] Perizinan data sync completed" >> storage/logs/cron.log
|
echo "[$(date '+%Y-%m-%d %H:%M:%S')] Perizinan data sync completed" >> storage/logs/cron.log
|
||||||
|
|
Loading…
Reference in New Issue