Re: passing vars to py scipts in cron jobs

2007-08-08 Thread Noud Aldenhoven
On 8/7/07, Will Maier <[EMAIL PROTECTED]> wrote: > > On Tue, Aug 07, 2007 at 05:45:46PM -0400, brad wrote: > > What's the proper way to call a py script and pass in variables > > while doing cron jobs? I can run the scripts fine from idle, > > python, etc using raw_input() to prompt users. The scri

Re: passing vars to py scipts in cron jobs

2007-08-07 Thread Will Maier
On Tue, Aug 07, 2007 at 05:45:46PM -0400, brad wrote: > What's the proper way to call a py script and pass in variables > while doing cron jobs? I can run the scripts fine from idle, > python, etc using raw_input() to prompt users. The scripts have > classes with methods that need arguments. This

passing vars to py scipts in cron jobs

2007-08-07 Thread brad
What's the proper way to call a py script and pass in variables while doing cron jobs? I can run the scripts fine from idle, python, etc using raw_input() to prompt users. The scripts have classes with methods that need arguments. Here's an example... I want to run c1.d1(v,v,v) then c2.d2(v,v,v