Forum Moderators: bakedjake
I am having one file called mirrorstatus.jar file .
now i want to run this file every hour daily.
please tell me where i should put this file in my linux machine.
and tell me how to set the cron tab for this file..
please give me the full steps if possible, i am very new for this shell scripting..
please help me
thanks in advance
Thanks,
Prakash
type "crontab -e" to edit (add cron commands to) your existing cron table.
or type "crontab /path/to/file" to install commands from an existing file to your cron table.
the column format of cron commands is:
minute hour mday month wday command
a "*" in a column means run the command every occurrence of that period.
It's hard to give precise instructions without knowing all the details. In any case with something like crontab you will want to learn enough to be able to fix issues that might occur. The easiest way to get at the syntax is to type:
man 5 crontab
Remember to use absolute paths in crontab as your .bashrc file is not loaded.