@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 >> /dev/null 2>&1"
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
 
@@ -1,7 +1,7 @@
1
1
  cd ~
2
2
  curl -fsSL https://deb.nodesource.com/setup_current.x -o nodesource_setup.sh
3
3
  sudo -E bash nodesource_setup.sh
4
- sudo apt install nodejs chromium-browser -yq
4
+ sudo apt install nodejs chromium-browser xdg-utils -yq
5
5
 
6
6
  cd $service_dir/node-scripts
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glicogh/healthcare-cdk",
3
- "version": "0.1.32",
3
+ "version": "0.1.34",
4
4
  "description": "CDK automations",
5
5
  "bin": {
6
6
  "cdk": "bin/cdk.js"
@@ -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 >> /dev/null 2>&1"
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
 
@@ -1,7 +1,7 @@
1
1
  cd ~
2
2
  curl -fsSL https://deb.nodesource.com/setup_current.x -o nodesource_setup.sh
3
3
  sudo -E bash nodesource_setup.sh
4
- sudo apt install nodejs chromium-browser -yq
4
+ sudo apt install nodejs chromium-browser xdg-utils -yq
5
5
 
6
6
  cd $service_dir/node-scripts
7
7