@glicogh/healthcare-cdk 0.1.32 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -85,7 +85,7 @@ sudo ln -sf $configuration_dir/supervisor.{{serviceName}}-service-server.conf /e
|
|
|
85
85
|
sudo systemctl restart supervisor
|
|
86
86
|
|
|
87
87
|
# register cron
|
|
88
|
-
cron_command="cd $service_dir && php artisan schedule:run >> /
|
|
88
|
+
cron_command="cd $service_dir && php artisan schedule:run >> $logs_dir/{{serviceName}}-cron.log"
|
|
89
89
|
cron_job="* * * * * $cron_command"
|
|
90
90
|
( ( crontab -l || true ) | ( grep -v -F "$cron_command" || true ) ; echo "$cron_job" ) | crontab -
|
|
91
91
|
|
package/package.json
CHANGED
|
@@ -85,7 +85,7 @@ sudo ln -sf $configuration_dir/supervisor.{{serviceName}}-service-server.conf /e
|
|
|
85
85
|
sudo systemctl restart supervisor
|
|
86
86
|
|
|
87
87
|
# register cron
|
|
88
|
-
cron_command="cd $service_dir && php artisan schedule:run >> /
|
|
88
|
+
cron_command="cd $service_dir && php artisan schedule:run >> $logs_dir/{{serviceName}}-cron.log"
|
|
89
89
|
cron_job="* * * * * $cron_command"
|
|
90
90
|
( ( crontab -l || true ) | ( grep -v -F "$cron_command" || true ) ; echo "$cron_job" ) | crontab -
|
|
91
91
|
|