Lines Matching full:cron
41 # cron job.
120 tst_resm TINFO "CLEAN: removing all cron jobs."
252 # - run logrotate in a cron job that runs every minute.
288 # create logrotate cron job.
289 cat >$LTPTMP/tst_logrotate.cron <<EOF
293 chmod 777 $LTPTMP/tst_logrotate.cron > /dev/null 2>&1
295 tst_resm TINFO "Test #2: Installing cron job to run logrotate"
296 crontab $LTPTMP/tst_logrotate.cron > $LTPTMP/tst_logrotate.out 2>&1 || RC=$?
307 # cron job to increase the log file size.
308 cat >$LTPTMP/tst_addtolog.cron <<EOF
313 tst_resm TINFO "Test #2: Installing cron job to increase logsize"
314 crontab $LTPTMP/tst_addtolog.cron > $LTPTMP/tst_logrotate.out 2>&1 || RC=$?
325 # let cron jobs get started.
340 # wait for 1m and check if logrotate has rotated the logfile. The cron job
341 # that does a logrotate runs every 1 minute so give the cron a minute...
356 "Test #1: logrotate worked as cron, created a compressed file."