maxleifermann
14th April 2012, 02:32 AM
Hi,
I am having some trouble with the "at" utility. I am using Fedora 12 running in VMWare Player.
I created a file at /home/bagside/Downloads/espeak-alarm.sh containing this:
#!/bin/bash
espeak "hello"
echo "hello"
I changed the permissions to read, write, execute:
chmod 777 espeak-alarm.sh
then I tried to use the "at" command:
at -f /home/bagside/Downloads/espeak-alarm.sh 18:27 today
the time was 18:26:38: when I entered the at command:
date
Fri Apr 13 18:26:38 PDT 2012
but nothing happened at 18:27, neither a sound or the echoed "hello".
the script espeak-alarm works when executed from the shell and the word "hello" is spoken.
I have tried many permutations of the at command, using different time formats, also I have read the man pages and searched on Google for an answer, but to no avail! Please help if you can see what I am doing wrong, thank you in advance!
-- Max
I am having some trouble with the "at" utility. I am using Fedora 12 running in VMWare Player.
I created a file at /home/bagside/Downloads/espeak-alarm.sh containing this:
#!/bin/bash
espeak "hello"
echo "hello"
I changed the permissions to read, write, execute:
chmod 777 espeak-alarm.sh
then I tried to use the "at" command:
at -f /home/bagside/Downloads/espeak-alarm.sh 18:27 today
the time was 18:26:38: when I entered the at command:
date
Fri Apr 13 18:26:38 PDT 2012
but nothing happened at 18:27, neither a sound or the echoed "hello".
the script espeak-alarm works when executed from the shell and the word "hello" is spoken.
I have tried many permutations of the at command, using different time formats, also I have read the man pages and searched on Google for an answer, but to no avail! Please help if you can see what I am doing wrong, thank you in advance!
-- Max