Guest Peo Posted December 29, 2002 Report Share Posted December 29, 2002 I'm doing some tests with Linux scheduling, so I decided to have Kmail to run every hour. I made a file called test, then I put in the following line: 01 * * * * kmail . Next I did: $ crontab test It doesn't work - any suggestion? Thx Peo Quote Link to comment Share on other sites More sharing options...
paul Posted December 29, 2002 Report Share Posted December 29, 2002 try doing: crontab -e this opens a editor (vi) then put the crontab command like this: 01 * * * * kmail then :wq and you will see a message that says "installing new crontab for user : username" Quote Link to comment Share on other sites More sharing options...
aru Posted December 30, 2002 Report Share Posted December 30, 2002 I'm doing some tests with Linux scheduling, so I decided to have Kmail to run every hour.I made a file called test, then I put in the following line: 01 * * * * kmail . Next I did: $ crontab test It doesn't work - any suggestion? Thx Peo The problem is not the way you created your crontab which is perfectly correct. The problem is that cron must know somethings before running shuch kind of program: the PATH to the kmail executable and, since it's a GUI program, the DISPLAY where it has to be executed. check the following link to the old board where we discused a similar problem: http://www.club-nihil.net/mub/viewtopic.php?t=4465 Quote Link to comment Share on other sites More sharing options...
Guest Peo Posted December 30, 2002 Report Share Posted December 30, 2002 OK, thanks. Now I'm starting to understand. :) I'll make some tests. Quote Link to comment Share on other sites More sharing options...
Guest Peo Posted January 2, 2003 Report Share Posted January 2, 2003 OK, I got everything I needed working. :) Thanks a lot Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.