Cron job in Suse Linux
Guys, I need some help
I am trying to figure out how to set up a cronjob that displays a message on the screen in KDE at a certain time(I am using SUSE 9). Does anyone know what command I can use to display a message on the screen in KDE? Your help is greately appreciated. Thanks in advance... |
man wall ;-)
|
You can create a script containing
kdialog --msgbox "Some useful text..." ; and point cron to that script. |
I tried, the command kdialog is not recognized by SLES 9.
|
Kalarm will do this, it can do messages, sounds etc. etc. and the times etc are quite configurable.
It won't be in the shell though |
I need to set up a cron job that just pops a graphical message on the screen in KDE saying for example HELLO. Now setting up a cron job I figured, but the command to pop some message on the screen I still can't figure out. Kalarm will work for this purpose, but I just really want to do it the other way....
|
Quote:
Code:
kdialog If not you can use dialog (i was just playing around with it, pretty fun), mine seemed to open up in the shell i was running, you can prolly change that. |
As chrism01 said, all you need is wall
For example, you could put this in root's crontab: 01 00 * * * echo -e "\a\nHey, it's past MIDNIGHT!\nTime for BED..." | /usr/bin/wall And all users will all get a reminder at one minute past midnight. HTH |
awesome thanks guys that really helps!!!!!!
|
All times are GMT -5. The time now is 08:05 AM. |