Jump to content

help with crontab


Guest Peo
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...