crontab1 RHEL/cron Job을 통해 반복적으로 작업 수행 e.g.) IO workload 1. Create Job - 1G file create 100ea per every 20 mins / then remove it. # crontab -u root crontab # crontab -e */20 * * * * for i in {1..100}; do dd if=/dev/zero of=/tmp/dummy1G-$i bs=1 count=0 seek=1G; done */20 * * * * rm -f /tmp/dummy1G-* 2. List current cron job # crontab -l 3. Remove cron job # crontab -r 4. Repeat per second * * * * * * & sleep 30; 5. restart cron daemon.. 2019. 5. 21. 이전 1 다음 반응형