Results 1 to 2 of 2

Thread: Hello, Zenity + crontab

  1. #1

    Default Hello, Zenity + crontab

    Hello, I'm new in this forum.
    I'm a teacher in Catalunya (Barcelona, Spain). In my school we use opensuse 11.1 (a distribution called Linkat).

    I've been trying to configure a pop up window with zenity remembering the shutdown time five minutes before. I've doned the script and works fine in shell, but not when I assign the task in crontab.

    I've found this solution:
    Linux etc. Blog Archive Running X apps (like zenity) from crontab (solving “cannot open display” problem)

    But it dosen't work.

    What can I do? Is it possible to do what I want?

    Thanks

    eloi

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Hello, Zenity + crontab

    Could you please post the script file you are trying to run so we could test it out? This might help get to the bottom of your issue. I normally go into the advanced message editor, copy and paste the script contents into a message here, highlight only the script text and press the code button (shown as the # in the editor). This allows the script to be posted unmodified and it is more readable.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •