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

Stathis Kamperis (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Mon Jul 20 09:33:41 PDT 2009


New submission from Stathis Kamperis <ekamperi at gmail.com>:

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 at 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 at solaris$

---NetBSD---
[beket at bahar ~] at 19:35
clear
Job 7 will be executed using /bin/sh
[beket at 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

----------
assignedto: Beket
files: at.diff
messages: 6904
nosy: Beket
priority: feature
status: unread
title: [PATCH] at(1): print job times upon job submission

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1432>
_____________________________________________________Attachment:
at.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00003.bin
Type: application/octet-stream
Size: 2146 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20090720/3eb9369e/attachment-0021.bin>


More information about the Bugs mailing list