Dear all,

can any one suggest how i can start shell scripting for automated tasks on linux servers,

Regards,

Muhammad Ashar

Recommended Answers

HEllo,

It is very easy. Google bash scripts and look into CRON which is the linux scheduler application. Scripts are just files with a series of linux commands in them. Remember to fully path any commands that you are trying to run in the script since cron does not have …

Jump to Post

All 2 Replies

HEllo,

It is very easy. Google bash scripts and look into CRON which is the linux scheduler application. Scripts are just files with a series of linux commands in them. Remember to fully path any commands that you are trying to run in the script since cron does not have any user variables set for scripts unless you define them in your script (i.e. it does not know what your home directory is when it runs from cron the way it does when you run it from the command line.).

If you need a manual the O'Reily manual on shell scripting is quite good and also covers using scripts through cron.
http://www.oreilly.com/

I did not read it, but here is an appetizing guide Click Here

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.