Quote:
Originally Posted by RithanyaLaxmi
I want to know how I can run a cron job every Monday, Wednesday & Friday in a week?
|
That is the easy part of “
running a cron job”. Which kind of trouble are you facing, when you apply the instructions that you get from he man pages (
man crontab and more about the composition of cronjobs in
man 5 crontab). Have you already configured other cron jobs on your system? In that case, how is this one different or more complicated?
Here is a version of the manpage from section 5 in an online version:
crontab(5). English is not my mother language and the authors of these help files have done a great job explaining just anything. PSE try first to get the information from there. Come back if it isn't clear.
EDIT: I forgot to tell you that the easiest way to access to your personal crontab file should be the command
Quote:
Also how I can create a cron job whether it should be created as .sh file which in turn will have the cron expressions to invoke another .sh file which eventually trigger the load? How this cron job will be invoked automatically whether I need to copy this cron job which will be in .sh format in a particular directory from where it will be automatically invoked? I am new to linux hence please help me out in this?
|
I have problems to understand this part of your description, but venture that, basically, you want to call one shell-script from another. PSE confirm before we go ahead.