Delete Set public Set private Add tags Delete tags
  Add tag   Cancel
  Delete tag   Cancel
  • • DevOps notes •
  •  
  • AI
  • Tags
  • Login

Crontab / at/shaare/pyrX4g

  • linux
  • linux

Crontab Basics

  • crontab -e → edit crontab
  • crontab -l → list crontab entries
  • crontab -r → remove crontab entries
  • systemctl status crond → check crond service status

AT: One-time Scheduled Tasks

  • Used to schedule jobs only once.

Scheduling Examples:

  • at HH:MM PM → schedule a job interactively
  • at 11:23AM 12/24/25

    • Enter job (e.g., echo "test") and press Ctrl + D to finish
  • at 2:45PM 01/30/25
  • at 4PM + 4 days
  • at now + 5 hours
  • at 8:00AM Sun
  • at 10:00AM next month

Managing AT Jobs

  • atq → list the scheduled at jobs
  • atrm # → remove a specific at job (use number from atq)
  • systemctl status atd → check atd daemon status
3 months ago Permalink
cluster icon
  • Linux File Ownership, ACLs, and I/O Redirects : File Ownership chown → Change ownership chgrp → Change group Access Control List (ACL) setfacl → Set file ACL getfacl → Get file ACL Add Permissi...
  • User management : Essential Commands: useradd, groupadd, userdel, groupdel, usermod Modify 3 files: /etc/passwd, /etc/group, /etc/shadow Create User with Custom O...
  • Shell Scripting Basics : First Line of Script #!/bin/bash → defines the shell interpreter Comments Use # for commenting Common Elements Commands: echo, cp, etc. Statement...
  • Screen & Tmux : Screen (Terminal Multiplexer) Multi-terminal sessions in one window Alt+A | → split vertical Alt+A Shift+S → split horizontal Alt+A Tab → switch wind...
  • System information, root recovery, environment variables, shortcuts : Finding System Information cat /etc/redhat-release → Red Hat version uname -a → Linux hostname, kernel, architecture dmidecode → hardware, BIOS, syst...


(19)
Filter untagged links
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community