Skip to content

Instantly share code, notes, and snippets.

@nixjobin
nixjobin / bitbucket-backup-all-repos.sh
Last active May 27, 2024 01:49
bitbucket-backup-all-repos.sh
#!/bin/bash
#Author Jobin Joseph
#Blog : nixhive.com
#Bio : JobinJoseph.com
#Bitbucket credentials
bbuser='Username_here'
bbpass='password_here'
fname=`date +%F_%H_%M`
@nixjobin
nixjobin / gist:ac981edf86c87cef7f54
Created November 20, 2014 20:53
evault agent checker
#!/bin/bash
#Author:Jobin Joseph
#JobNix.in
# Script to Check Availability of Evault Agent on Linux Servers and restart if the service went down.
# logs wil be available at /var/log/messages
[email protected]
ps aux|grep -v grep |grep buagent