Applied MINIX 2.0.4 pathes provides by Al Woodhull.
This commit is contained in:
@@ -189,6 +189,9 @@ int main(int argc, char **argv)
|
||||
pflag= 1;
|
||||
}
|
||||
|
||||
/* Initialize current Time */
|
||||
time(&now);
|
||||
|
||||
if (cflag) {
|
||||
int fd1, fd2;
|
||||
|
||||
|
||||
@@ -158,6 +158,7 @@ void tab_reschedule(cronjob_t *job)
|
||||
job->rtime= NEVER;
|
||||
return;
|
||||
}
|
||||
tmptm= *localtime(&job->rtime);
|
||||
if (tmptm.tm_hour != nexttm.tm_hour ||
|
||||
tmptm.tm_min != nexttm.tm_min)
|
||||
{
|
||||
@@ -182,6 +183,7 @@ void tab_reschedule(cronjob_t *job)
|
||||
job->rtime= NEVER;
|
||||
return;
|
||||
}
|
||||
tmptm= *localtime(&job->rtime);
|
||||
if (tmptm.tm_hour != nexttm.tm_hour ||
|
||||
tmptm.tm_min != nexttm.tm_min)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user