Blame tests/p_cron/cron_crontab_hourly_test.sh
|
Athmane Madjoudj |
4f8977 |
#!/bin/sh
|
|
Athmane Madjoudj |
4f8977 |
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
|
Athmane Madjoudj |
4f8977 |
|
|
Athmane Madjoudj |
4f8977 |
t_Log "Running $0 - crontab test."
|
|
Athmane Madjoudj |
4f8977 |
|
|
Athmane Madjoudj |
4f8977 |
run-parts /etc/cron.hourly
|
|
Athmane Madjoudj |
4f8977 |
tail /var/log/cron | grep -q 'run-parts(/etc/cron.hourly)'
|
|
Athmane Madjoudj |
4f8977 |
|
|
Athmane Madjoudj |
4f8977 |
|
|
Athmane Madjoudj |
4f8977 |
t_CheckExitStatus $?
|