I found the need to pass arguments to my jobs so I added the functionality. I started off writing my own Regex to parse the parameters, then remembered that Rake did this also. Jim's Regex's were a little more complex, but look like they are more exacting than mine, so I grabbed his parse_task_string method.
I found the need to pass arguments to my jobs so I added the functionality. I started off writing my own Regex to parse the parameters, then remembered that Rake did this also. Jim's Regex's were a little more complex, but look like they are more exacting than mine, so I grabbed his parse_task_string method.
Cheers,
Kevin