Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.56 KB

README.md

File metadata and controls

28 lines (16 loc) · 1.56 KB

Bookmark Tabs Bash Scripts

A curated list of BASH scripts primarily aimed towards Linux systems, still a work in progress!

Triangular Flag Setup

  1. Clone the repository: git clone https://github.com/hakrishi/bash-scripts.git
  2. Change directory to a script you would like to run: cd docker
  3. Change the permissions of the script: chmod +x backupDockerContainers.sh
  4. Run the script: `./backupDockerContainers.sh

Note that this process applies to all scripts within this repository

Gear Cron Job Setup

You may find it useful to run scripts automatically on Linux, this is where Cron Jobs comes into play. To setup CronJobs following the below steps:

  1. Run crontab -e
  2. On the very last line add the following: 0 14 * * 0 /path/to/script.sh
  3. Save the file then exit

While the above example runs the script every Sunday at 2PM you can set your own Cron Job here

Contact

If you have any questions feel free to reach out to me on Signal or via email: [email protected].