Michael Leone on 13 Mar 2012 09:42:12 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Need some script advice |
On Tue, Mar 13, 2012 at 12:14 PM, Sam Gleske <sam.mxracer@gmail.com> wrote: > Michael Leone, > I added the functionality you desire and cleaned up your script a > little bit. I implemented my own recommendations. Here's the > script... > > http://pastebin.com/CegHSTPi Thanks! > Is it your intention to _not_ clean up /VendorInvoices at all with > exception to moving the zip file to the archive Correct. > or is your script > supposed to delete all the invoices in /VendorInvoices when the > command is successfully run? No, there is another process that runs later from a whole other machine that sweeps up all files found in /VendorInvoices, and then deletes them itself. I had nothing to do with that process; all I'm supposed to do is populate /VendorInvoices on the right schedule (and keep a copy of all the invoice files that were processed, as a zip file, as a secondary sort of backup to the main process). ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug