Dear All,

I am trying to run a script with the following command:

echo "~/scripts/teste.sh" | at 5:59PM

but nothing happens.

My script is:

---------------------------------------
#!/bin/bash

gxmessage -center \
          -buttons "Yes":1,"Of Course":2 \
          -geometry 290x80 \
          -title "Linux Journal Question" 'Does Shawn Powers ROCK?'

answer=$?

case "$answer" in
  1)
    gxmessage -center "You said 'YES'"
    ;;
  *)
    gxmessage -center "I agree, Of Course."
    ;;
esac
---------------------------------------

If I run

sh ~/scripts/teste.sh

the script works as expected.

Any ideas?

Thanks in advance,

Paul
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to