& Nbsp; run crontab-e to edit a job. For example, 030 ***/home/your_login/bin/java_program |-dayoftheweek (0-6with0Sunday ). | -- monthoftheyear (1-12), |
Run crontab-e to edit a job.
For example
0 30 * * * /home/your_login/bin/java_program | | | | | | | | | | | | | | —day of the week (0-6 with 0=Sunday). | | | —— month of the year (1-12), | | |_____day of the month (1-31), | | | |____hour (0-23), | minute (0-59),
|
Correct the preceding example:
30 0 ***/home/your_login/bin/java_program
It is the java_program in the/home/your_login/bin directory that runs at every day.
* Indicates all. For example, if you change the value 0 in the previous example to *, you can run the subsequent program at 30 o'clock every hour.
#! /Bin/sh
Cd/home/your_dir
/Usr/local/jdk1.5.0 _ 03/bin/java/home/your_login/yourClass> error. log
Then, the cron job
30 0 ***/home/your_login/bin/ksh_script