Raqeeb Ahmed Khanraqeebtech.hashnode.dev·Nov 13, 2023Advanced Linux Shell Scripting for DevOps Engineers with User management 🐧🚀🔄Create a Script to Backup Create a script named backupData.sh to backup: #!/bin/bash function create_backup { src_dir=/home/ubuntu/scripts tgt_dir=/home/ubuntu/backups current_timestamp=$(date "+%Y-%m-%d-%H-%M-%S") ...DiscussLinux
vaibhav zingadevaibhavzingade.hashnode.dev·Nov 4, 2023Day6: Advanced Linux Shell Scripting for DevOps Engineers.Write a bash script create directories.sh that when the script is executed with three given arguments (one is the directory name and second is start number of directories and third is the end number of directories ) it creates a specified number of d...Discuss·1 likeAWS
ABHIJEET MAHAJANitsabhijeet.hashnode.dev·Nov 4, 2023Automating Your Tasks with Cron: A Guide to Scheduling Daily Backups in LinuxCron is a time-based job scheduler in Linux and other Unix-like operating systems. It allows you to schedule tasks to run at specific times or intervals. This can be useful for automating a variety of tasks, such as backups, system maintenance, and d...Discusscron
Kishor Chavankishorc.hashnode.dev·Oct 27, 2023Shell Scripting Basic and Advance.It's great to hear about your progress in the #90DaysDevOps Challenge, especially your exploration of shell scripting and how it can be used for automation and system administration. Here's a brief overview of some of the key points you mentioned: S...Discuss·52 readsDevops
Anil Jaiswalanil.hashnode.dev·Sep 3, 2023Building a Cron Expression Parser using PythonIntroduction Task scheduling can be a complex task in software development, especially when it comes to specifying when and how often a task should run. This is where cron expressions come in handy. Cron expressions are widely used to define schedule...DiscussPython
Chekit Sharmachekitsharma.hashnode.dev·Aug 21, 2023📜Shell Scripting Basic to Advanced📍Introduction Bash stands for "Bourne Again SHell." It's a command-line interpreter and scripting language that is widely used in Unix-like operating systems. Bash is the default shell on most Linux distributions and macOS systems. It provides a way...Saksham Paliwal and 3 others are discussing this4 people are discussing thisDiscuss·9 likes·283 readsshell script
강태구ktg0210.hashnode.dev·Aug 14, 2023change sysstat interval on systemctl- 개요 sysstat sar data는 default 10분 간격이다. 그러나 1분 으로 조정하는게 훨씬 효과적이다. CentOS 7까지는 cron.d에서 변경이 가능했으나, 8 이상 부터는 systemctl에서 변경해야 한다 - 변경 방법 >> sudo systemctl edit --full sysstat-collect.timer ## change 10 -> 1 >> systemctl daemon-reload >> systemctl ...DiscussLinux
Suraj Pandacode-with-suraj.hashnode.dev·Aug 10, 2023Unleashing Cron Jobs in Node.js: Turbocharge Your Productivity with Automated Task ExecutionAs a developer, your time is valuable, and maximizing productivity is crucial. Thankfully, Node.js offers a powerful tool called cron jobs to automate routine tasks, allowing you to focus on more critical aspects of your work. In this article, we wil...DiscussNode.js
Mani Vaidhymanivaidhy.hashnode.dev·Jul 28, 2023Laravel : Running single cron on multiple serversThis article is to set up a single cron on multiple servers in Laravel. Create EC2 Instance in AWS Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/ and click on “Running Instances”. Click on Launch Instance. Choose which type of V...DiscussLaravel
Ayushi Vasishthaayushi1503.hashnode.dev·Jul 23, 2023Advanced Linux Shell Scripting: Automating Tasks with the Power of Shell ScriptsAutomate tasks with BASH Scripts: In this short blog, we'll explore how to generate multiple directories, create backups, schedule tasks using cron and crontab, and even add users – all through the magic of shell scripting! Generate multiple Directo...Discuss·34 reads#90daysOfDevOpsshell scripting