This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
aix:aix_crontab [2024/06/05 16:59] manu [Errors] |
aix:aix_crontab [2025/04/29 15:59] (current) manu |
||
---|---|---|---|
Line 17: | Line 17: | ||
[root@aixna001]/root> crontab -l lpar2rrd | [root@aixna001]/root> crontab -l lpar2rrd | ||
0 1 * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl lnxmonitor01 > /var/tmp/lpar2rrd-agent.out 2>&1 | 0 1 * * * /usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl lnxmonitor01 > /var/tmp/lpar2rrd-agent.out 2>&1 | ||
+ | 40 18 * * 1,2,3,4,5 ( . /home/lpar/.bash_profile ; /myscript/script01.sh ) >/dev/null 2>&1 | ||
</cli> | </cli> | ||
Line 25: | Line 26: | ||
</cli> | </cli> | ||
+ | Fields description | ||
+ | * minute: 0 through 59 | ||
+ | * hour: 0 through 23 | ||
+ | * day_of_month: 1 through 31 | ||
+ | * month: 1 through 12 | ||
+ | * weekday: 0 through 6 for Sunday through Saturday | ||
+ | FIXME | ||
+ | On linux (NOT AIX) you can also use for very 10 minutes, */10 | ||
+ | 0,10,20,30,40,50 6 * * 1-5 /usr/bin/calendar | ||
+ | */10 * * 1-5 /usr/bin/calendar | ||
==== Cron log ==== | ==== Cron log ==== |