8- taken
9- done x (when, because "they" should be preceded by an element that concatenates 2 sentences)
#!/bin/bash | |
echo "starting check sidekiq" | |
process=`cat /path-to/sidekiq.pid` | |
processConfirmation=`ps aux | awk '{print $2 }' | grep $process` | |
if [ -z $processConfirmation ] | |
then | |
echo "oops! not running... restarting sidekiq" |
Follow This part of the Android Guides Tutorial.
#!/bin/bash | |
# | |
# Backup a Postgresql database into a daily file. | |
# | |
BACKUP_DIR=/pg_backup | |
DAYS_TO_KEEP=14 | |
FILE_SUFFIX=_pg_backup.sql | |
DATABASE= | |
USER=postgres |