Skip to content

Commit cde1395

Browse files
committed
added pm2 flush in hourly cron
1 parent 30f9c37 commit cde1395

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ sudo apt-get install -y build-essential git unzip wget nodejs npm ntp cloud-util
6464
# set up time update cronjob
6565
sudo bash -c "cat > /etc/cron.hourly/ntpdate << EOF
6666
#!/bin/sh
67+
pm2 flush
6768
sudo service ntp stop
6869
sudo ntpdate -s ntp.ubuntu.com
6970
sudo service ntp start

0 commit comments

Comments
 (0)