[kde-linux] crontab

Kevin Krammer kevin.krammer at gmx.at
Mon Sep 26 17:51:42 UTC 2005

On Monday 26 September 2005 14:06, neha gupta wrote:
> I am using crontab daemon to give me a reminder message on some particular
> times.
> But it always mails me the message and shows the line "You have new mail"
> in the terminal window,.
> Rather than getting a mail I want to redirect the output to a new pop up
> window but crontab does not seem to be able to redirect the output to a new
> window

You could use DCOP (via the commandline tool dcop) and theKDE notification 
service KNotify

For example
dcop knotify Notify notify "" "" "Message text" "" "" 2 0

When using from the cron job you have to add the --user parameter

dcop --user username ....


Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20050926/21550c4c/attachment.sig>

More information about the kde-linux mailing list