This repository contains simple and useful shell scripts for automating tasks like system maintenance, backups, and cleanup operations. These scripts are designed to run directly on Unix-based systems (Linux/macOS) without any extra setup.
- Clone the Repository:
git clone https://github.com/Nkwenti-Severian-Ndongtsop/automated-scripts.git cd automated-scripts - Give Execution Permission:
chmod +x <filename>
- Run a Script:
./<filename>
To schedule a script, add a cron job:
crontab -eExample to run a script every day at midnight:
0 0 * * * /path/to/filename >> /path/to/log.log 2>&1If a script generates logs, you can check them using:
cat log.logFeel free to submit pull requests with improvements or new scripts!
MIT License.
For any issues or suggestions, open a GitHub issue.