-   Linux - Software (
-   -   Cron job in Suse Linux (

excidy 05-25-2006 03:11 PM

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...

chrism01 05-25-2006 08:14 PM

man wall ;-)

Marinus 05-26-2006 12:17 AM

You can create a script containing

kdialog --msgbox "Some useful text..." ;

and point cron to that script.

excidy 05-29-2006 04:56 AM

I tried, the command kdialog is not recognized by SLES 9.

ethics 05-29-2006 04:59 AM

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

excidy 05-29-2006 05:13 AM

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....

ethics 05-29-2006 05:23 AM


Originally Posted by Marinus
kdialog --msgbox "Some useful text..." ;

and point cron to that script.

There's your answer then. You can install it via Yast i beleieve.


on it's own gives a list of different switches.

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.

tredegar 05-29-2006 08:10 AM

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.


excidy 06-12-2006 11:32 PM

awesome thanks guys that really helps!!!!!!

All times are GMT -5. The time now is 01:39 PM.