line |
true |
false |
branch |
36
|
0 |
0 |
unless ($self->at_path) |
38
|
0 |
0 |
unless ($path) |
40
|
0 |
0 |
unless -x $path |
42
|
0 |
0 |
unless $path |
53
|
0 |
0 |
if ($args) |
56
|
0 |
0 |
unless (@cmd) |
63
|
0 |
0 |
if ($self->at_queue) |
70
|
0 |
0 |
unless (my $pid = open(AT, '|-')) |
79
|
0 |
0 |
if ($pid_status != 0) |
91
|
0 |
0 |
unless open ATQ, $self->at_path . " -l -q $queue |" |
119
|
0 |
0 |
if $atd_running |
121
|
0 |
0 |
if ($^O =~ /bsd/i) |
123
|
0 |
0 |
unless $cron_running |
126
|
0 |
0 |
unless open CRONTAB, '/etc/crontab' |
128
|
0 |
0 |
if (m[/usr/libexec/atrun]) |
134
|
0 |
0 |
if $found_atrun |
143
|
0 |
0 |
if (-x '/etc/init.d/atd') |
148
|
0 |
0 |
if ($^O =~ /bsd/i) |
158
|
0 |
0 |
if (open PID, "/var/run/$procname.pid") |
161
|
0 |
0 |
if (defined $pid) |
162
|
0 |
0 |
if (kill 0, $pid or $!{'EPERM'}) { } |