An agenda in Korn Shell: New / Edit / Delete / View appointment

Posted by Abaco on Stack Overflow See other posts from Stack Overflow or by Abaco
Published on 2010-05-18T13:23:15Z Indexed on 2010/05/19 0:10 UTC
Read the original article Hit count: 282

Filed under:
|
|

As stated in the title, I have to write a simple script which should perform some typical agenda's functions. The script must use crontab. The functions are:

  • Creating a new appointment
  • Edit an existent appointment
  • Delete an appointment
  • List the appointment

I really don't have a clue how to do this, can you help me with some hint? Maybe a bit of sweet code?

Thank you very much, Abaco

EDIT: To be more specific on my question

Point 1: how can I edit a crontab thorugh ksh? How can I insert a new line? Can you link me some documentation or a bit of code about this?

© Stack Overflow or respective owner

Related posts about ksh

Related posts about shell-scripting