<commit_before><commit_msg>new script to disable nightly backup<commit_after>#!/bin/bash

# remove cron entry for backup, if it exists
if (sudo crontab -l -u postgres|grep '^[^#].*pg_backup_rotated\.sh\b.*'); then
  sudo sed -i 's/^[^#].*pg_backup_rotated\.sh\b.*/#&/g' /var/spool/cron/crontabs/postgres
else
  echo "Backup not enabled.  No changes made."
fi
{'fraction_non_alphanumeric': 0.17039106145251395, 'fraction_numerical': 0.0, 'mean_word_length': 4.279411764705882, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5919664', 'n_tokens_mistral': 146, 'n_tokens_neox': 136, 'n_words': 36}