Where I have to put the cleanup.sh and img_check.sh scripts in centos7
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi biswajitandolasoft,
I’m not sure what are these scripts however here is what you can do with scripts you wrote and want to use
CronJob
If you want your script to be executed automatically, you can create it as a cron job. If you are wondering what a cron job is - cron is a Linux utility which schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks.
Manual Use
If you want to use them manually, you can put them in your /usr/sbin or /usr/bin folder. That way when you type the name of the script, it will be called automatically, no matter in which directory you are.
Kind regards, Kalin D.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.