Re: appended crontab entries with py script

2005-09-14 Thread rbt
On Tue, 2005-09-13 at 23:18 -0400, Mike Meyer wrote: rbt [EMAIL PROTECTED] writes: How can I safely append a crontab entry to a crontab file progammatically with Python? Well, one way would be to invoke the system crontab utility and use an editor that passes the file to your program,

appended crontab entries with py script

2005-09-13 Thread rbt
How can I safely append a crontab entry to a crontab file progammatically with Python? I need to handle crontabs that currently have entries and crontabs that are empty. Also, I'd like this to work across Linux and BSD systems. Any pointers? --

Re: appended crontab entries with py script

2005-09-13 Thread Mike Meyer
rbt [EMAIL PROTECTED] writes: How can I safely append a crontab entry to a crontab file progammatically with Python? Well, one way would be to invoke the system crontab utility and use an editor that passes the file to your program, and reads the results back. I need to handle crontabs that