mirror of
https://github.com/acedanger/shell.git
synced 2025-12-06 05:40:11 -08:00
feat: Migrate to system-specific crontab files with enhanced logging and management
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user