Project

General

Profile

Actions

Bug #1432

closed

[PATCH] at(1): print job times upon job submission

Added by Anonymous almost 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Salute.

When someone submits a job to at(1), then at(1) must print to stderr a message
of the following form:
"job %s at %s\n", at_job_id, <date>

---Solaris---
tuxillo@solaris$ at 20:10
at> ls
at> <EOT>
commands will be executed using /bin/bash
job 1248113400.a at Mon Jul 20 20:10:00 2009
tuxillo@solaris$

---NetBSD---
[beket@bahar ~] at 19:35
clear
Job 7 will be executed using /bin/sh
[beket@bahar ~]

---DragonFly (before)---
bash-4.0$ at 20:39
clear
Job 19 will be executed using /bin/sh
bash-4.0$

---DragonFly (after)---
bash-4.0$ at 20:39
clear
ls
Job 21 will be executed using /bin/sh
Job 21 at Mon Jul 20 20:39:00 2009
bash-4.0$

I attach a patch that fixes it. Unless no objections are raised, I'll push it in
the next days.

Cheers,
Stathis


Files

at.diff (2.14 KB) at.diff Anonymous, 07/20/2009 04:39 PM
Actions #1

Updated by Anonymous over 14 years ago

Fixed with ae2e8c203fb318f2e2782d12307df51837825d6f

Actions

Also available in: Atom PDF