-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
125 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
version=v1.0.36 | ||
date="Mon Aug 17 15:20:10 CEST 2020" | ||
version=v1.0.37 | ||
date="Mon Aug 17 22:47:34 CEST 2020" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php artisan $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# clear all laravel caches and reset all path-permissions | ||
sudo chmod -R a+w storage | ||
sudo chmod -R a+w bootstrap/cache | ||
php artisan clear-compiled | ||
php artisan cache:clear | ||
php artisan config:clear | ||
php artisan route:clear | ||
php artisan view:clear |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
# tail the newest laravel log on storage | ||
if [ -d ./app/storage/logs ]; then | ||
DIR="./app/storage/logs/log-" | ||
elif [ -d ./storage/logs ]; then | ||
DIR="./storage/logs/" | ||
else | ||
echo "app/storage/logs and storage/logs not found" | ||
exit | ||
fi | ||
# pick the newest logfile | ||
LOG=`ls -t $DIR* | head -1` | ||
# LOG2=`ls -t ./app/storage/logs/log-cli* | head -1` | ||
echo "** LOGFILE $LOG $LOG2" | ||
tail -n 40 -f $LOG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
######################################################################################### | ||
## every5min | ||
########################################################################################## | ||
* * * * * $HOME/crontab/everymin >>$HOME/crontab/log/everymin.log 2>&1 | ||
|
||
######################################################################################### | ||
# every5min | ||
######################################################################################### | ||
*/5 * * * * $HOME/crontab/every5min >>$HOME/crontab/log/every5min.log 2>&1 | ||
|
||
######################################################################################### | ||
# every15min 2 minutes after the quarter hour | ||
######################################################################################### | ||
2,17,32,47 * * * * $HOME/crontab/every15min >>$HOME/crontab/log/every15min.log 2>&1 | ||
|
||
######################################################################################### | ||
# every hour at xx:19 | ||
######################################################################################### | ||
19 * * * * $HOME/crontab/everyhour >>$HOME/crontab/log/everyhour.log 2>&1 | ||
|
||
######################################################################################### | ||
# the nightjob at 04:21 | ||
######################################################################################### | ||
21 4 * * * $HOME/crontab/everyday >>$HOME/crontab/log/everyday.log 2>&1 | ||
|
||
######################################################################################## | ||
# Weekly - every mondaymorning at 0:11 | ||
######################################################################################## | ||
11 0 * * 1 $HOME/crontab/everyweek >>$HOME/crontab/log/everyweek.log 2>&1 | ||
|
||
######################################################################################## | ||
# addvhost will add laravel schedules here | ||
######################################################################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#! /bin/bash | ||
echo "=== EVERY5MIN run @ `date` ================================" | ||
# example every5min | ||
echo "=== END RUN @ `date` ==================================" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#! /bin/bash | ||
echo "=== EVERYDAY run @ `date` ================================" | ||
# example everyday | ||
echo "=== END RUN @ `date` ==================================" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#! /bin/bash | ||
echo "=== EVERYHOUR run @ `date` ================================" | ||
# example everyhour | ||
echo "=== END RUN @ `date` ==================================" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#! /bin/bash | ||
echo "=== EVERYMINUTE run @ `date` ================================" | ||
# example everyminute | ||
echo "=== END RUN @ `date` ==================================" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#! /bin/bash | ||
echo "=== EVERYWEEK run @ `date` ================================" | ||
# example everyweek | ||
echo "=== END RUN @ `date` ==================================" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# this is a stub to make sure log dir is created |