feat: Migrate to system-specific crontab files with enhanced logging and management

This commit is contained in:
Peter Wood
2025-05-26 12:10:15 -04:00
parent b016f4e241
commit e6aec6dd5d
9 changed files with 70 additions and 44 deletions

View File

@@ -68,7 +68,7 @@ show_current_problem() {
fix_crontab() {
local system_name="$1"
local crontab_file="$SCRIPT_DIR/enhanced-crontab-${system_name}.txt"
local crontab_file="$SCRIPT_DIR/crontab-${system_name}.txt"
if [ ! -f "$crontab_file" ]; then
log_error "System-specific crontab file not found: $crontab_file"
@@ -130,9 +130,9 @@ main() {
echo
log_success "Crontab recovery completed for $HOSTNAME"
log_info "The enhanced management script now uses system-specific files:"
log_info " - enhanced-crontab-europa.txt"
log_info " - enhanced-crontab-racknerd.txt"
log_info "The management script now uses system-specific files:"
log_info " - crontab-europa.txt"
log_info " - crontab-racknerd.txt"
echo
log_info "To manage crontabs going forward, use:"
log_info " ./manage-enhanced-crontab.sh install"