Skip to content

Issue 9.2: Schedule System Tasks #16

@AhmadMWaddah

Description

@AhmadMWaddah

Issue 9.2: Schedule System Tasks

VM

VM 1: Jump Host / Main Practice Server

Scenario

You need to schedule a daily backup script that runs at 2:30 AM and cleans up old log files older than 30 days every Sunday at midnight.

Objectives

  1. Create a backup script that archives /home directory to /backups
  2. Create a cleanup script that removes log files older than 30 days from /var/log
  3. Schedule the backup script to run daily at 2:30 AM
  4. Schedule the cleanup script to run every Sunday at midnight
  5. Verify the cron jobs are scheduled correctly
  6. Test the cron functionality

Requirements

  • Create proper shell scripts for both tasks
  • Use crontab to schedule the tasks
  • Verify cron jobs are active
  • Test the scheduled functionality

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions