mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-21 12:41:04 -05:00
Avoid httpd killing fetchtweets early by executing it off in the background
TODO: some UI if lock is around, to tell folks a fetch is underway
This commit is contained in:
@@ -5,7 +5,7 @@ test -s "$1" || exit
|
||||
test "${1##*.}" = 'txt' || exit
|
||||
|
||||
temp=$(mktemp "$1.XXXX")
|
||||
trap "rm -f $temp" INT
|
||||
trap "rm -f $temp" EXIT
|
||||
|
||||
IFS='|'
|
||||
while read -r id date text
|
||||
|
||||
Reference in New Issue
Block a user