Przejdลบ do treล›ci

๐Ÿค– Automation

Automating Linux tasks and workflows.


๐Ÿ”ง Cron Jobs

Edit:

1
crontab -e

Example:

1
0 3 * * * /usr/local/bin/backup.sh

๐Ÿงฉ Systemd Timers

Example:

1
/etc/systemd/system/cleanup.timer
1
2
3
4
5
6
7
8
[Unit]
Description=Daily cleanup

[Timer]
OnCalendar=daily

[Install]
WantedBy=timers.target

๐Ÿ”ง Bash Scripting

1
2
3
#!/bin/bash
echo "Backup started"
tar -czf backup.tar.gz /data

๐Ÿค– Tools

  • Ansible
  • n8n
  • Bash
  • Python scripts