Compare commits
2 Commits
f212c41734
...
5306cb78d3
| Author | SHA1 | Date | |
|---|---|---|---|
| 5306cb78d3 | |||
| 749a018a6e |
@@ -12,7 +12,7 @@ echo "*** Running cronjob @ `date` ***"
|
|||||||
cd $DIR
|
cd $DIR
|
||||||
|
|
||||||
# Pull any updates, and if the project is already up to date, exit successfully.
|
# Pull any updates, and if the project is already up to date, exit successfully.
|
||||||
git pull --rebase | grep -v "up to date"
|
git pull | grep -v "up to date"
|
||||||
status="$?"
|
status="$?"
|
||||||
echo "* Pull status is '$status'."
|
echo "* Pull status is '$status'."
|
||||||
if [[ $status != 0 ]]; then
|
if [[ $status != 0 ]]; then
|
||||||
|
|||||||
2
run.sh
2
run.sh
@@ -93,7 +93,7 @@ if [[ ! `which curl` ]]; then
|
|||||||
fi
|
fi
|
||||||
if [[ ! `which ps` ]]; then
|
if [[ ! `which ps` ]]; then
|
||||||
echo "- Installing PS"
|
echo "- Installing PS"
|
||||||
$sudo apt-get install -y ps
|
$sudo apt-get install -y procps
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Directories and allowed page types are executable, others are not.
|
# Directories and allowed page types are executable, others are not.
|
||||||
|
|||||||
Reference in New Issue
Block a user