can't get crontab to open a gedit window
Asked by
George Hunter
I am trying to use cron to issue periodic reminders to me by putting up a gedit window showing a reminder message text file. If I put
* * * * * gedit -s
in the crontab file, I would expect it to open a blank gedit file every minute, but nothing happens. Omitting the -s switch makes no difference.
If I put this line in the crontab file
* * * * * ./test.
where test.sh contains
#!/bin/bash
date
gedit temp.tmp
then the resulting log file shows a time stamp every minute, but still no sign of a gedit window.
Anyone any ideas?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- actionparsnip
- Solved:
- Last query:
- Last reply:
To post a message you must log in.