Skip to content

Instantly share code, notes, and snippets.

Working hard

Francesco fvigotti

Working hard
Block or report user

Report or block fvigotti

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View jenkins_backup
set -xe
rsync -avz --delete-after --exclude='.trashcan' /jhome/ /jbackup/
while : ; do sleep 300 ; do_backup ; done
View echo-date-loop
for ((i = 0; ; i++)); do echo "$i: $(date)" > $1; echo "looping $i , $(date)"; sleep 1; done
fvigotti /
Last active May 12, 2018
cifs flexvolume
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# Unless required by applicable law or agreed to in writing, software
View waitFor | bash
#credits :
waitFor() {
while [ 1 ]; do
ok=$(eval $cmd)
if [ "$ok" ]; then
sleep 1
You can’t perform that action at this time.