[Bug 94933] Re: The 'at' command fails to execute commands at the given times and dates
** Changed in: at (Ubuntu) Importance: Undecided = Medium Status: New = Confirmed ** Summary changed: - The 'at' command fails to execute commands at the given times and dates + Unexported $DISPLAY prevents `at' from executing GUI apps -- Unexported $DISPLAY prevents `at' from executing GUI apps https://bugs.launchpad.net/bugs/94933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 94933] Re: The 'at' command fails to execute commands at the given times and dates
Problem still exists in Ubuntu 8.04 - Any program that requires a GUI is unable to run without the export DISPLAY=... line. FYI this is the same problem people are having with cron and crontab. -- The 'at' command fails to execute commands at the given times and dates https://bugs.launchpad.net/bugs/94933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 94933] Re: The 'at' command fails to execute commands at the given times and dates
Ok, so the missing export of $DISPLAY appears to be the problem (amarok requires this, too). Here's a quote from at.c however: /* Write out the environment. Anything that may look like a * special character to the shell is quoted, except for \n, which is * done with a pair of 's. Dont't export the no_export list (such * as TERM or DISPLAY) because we don't want these. */ where no_export is: TERM, DISPLAY, _, SHELLOPTS, BASH_VERSINFO, EUID, GROUPS, PPID, UID -- The 'at' command fails to execute commands at the given times and dates https://bugs.launchpad.net/bugs/94933 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 94933] Re: The 'at' command fails to execute commands at the given times and dates
Hi, same problem here on feisty. I ran your simple test Ralph: [EMAIL PROTECTED] ~ % echo touch /tmp/created_by_at | at now warning: commands will be executed using /bin/sh job 8 at Tue Oct 16 23:32:00 2007 [EMAIL PROTECTED] ~% ls -al /tmp/created_by_at -rw-rw-r-- 1 nicolas users 0 2007-10-16 23:32 /tmp/created_by_at And some others: echo mpg123 /home/nicolas/Musique/arthurH_feist.mp3 | at now warning: commands will be executed using /bin/sh job 11 at Tue Oct 16 23:41:00 2007 music plays... echo vlc|at now nothing... echo zenity|at now nothing... Could there be something wrong with display? -- The 'at' command fails to execute commands at the given times and dates https://bugs.launchpad.net/bugs/94933 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 94933] Re: The 'at' command fails to execute commands at the given times and dates
If you export DISPLAY before your command it works: try : echo export DISPLAY=$DISPLAY \\ zenity --warning|at now Nicolas -- The 'at' command fails to execute commands at the given times and dates https://bugs.launchpad.net/bugs/94933 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 94933] Re: The 'at' command fails to execute commands at the given times and dates
Here's a simple test. Can you try it please. at(1) is working for some of us so we need to find out why your experience differs. $ echo touch /tmp/created_by_at | at now warning: commands will be executed using /bin/sh job 3787 at 2007-08-13 11:45 $ ls -l /tmp/created_by_at -rw-r--r-- 1 ralph ralph 0 2007-08-13 11:45 /tmp/created_by_at $ -- The 'at' command fails to execute commands at the given times and dates https://bugs.launchpad.net/bugs/94933 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 94933] Re: The 'at' command fails to execute commands at the given times and dates
Ralph, Wow, it's nice to know that people are still hacking away at this problem. Below are my results from your test. Good luck! [EMAIL PROTECTED]:~$ echo touch /tmp/created_by_at | at now warning: commands will be executed using /bin/sh job 27 at Mon Aug 13 21:06:00 2007 [EMAIL PROTECTED]:~$ ls -l /tmp/created_by_at -rw-r--r-- 1 mhjohnson mhjohnson 0 2007-08-13 21:06 /tmp/created_by_at [EMAIL PROTECTED]:~$ On Monday August 13 2007 6:50:29 am Ralph Corderoy wrote: Here's a simple test. Can you try it please. at(1) is working for some of us so we need to find out why your experience differs. $ echo touch /tmp/created_by_at | at now warning: commands will be executed using /bin/sh job 3787 at 2007-08-13 11:45 $ ls -l /tmp/created_by_at -rw-r--r-- 1 ralph ralph 0 2007-08-13 11:45 /tmp/created_by_at $ -- The 'at' command fails to execute commands at the given times and dates https://bugs.launchpad.net/bugs/94933 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 94933] Re: The 'at' command fails to execute commands at the given times and dates
Same problem in bug 113988 -- The 'at' command fails to execute commands at the given times and dates https://bugs.launchpad.net/bugs/94933 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 94933] Re: The 'at' command fails to execute commands at the given times and dates
** Changed in: at (Ubuntu) Sourcepackagename: kubuntu-default-settings = at -- The 'at' command fails to execute commands at the given times and dates https://launchpad.net/bugs/94933 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs