[ic] IC Jobs question

Stefan Hornburg racke at linuxia.de
Thu Oct 23 15:17:56 EDT 2003


On Wed, 22 Oct 2003 15:57:15 -0700
"Grant" <listbox at email.com> wrote:

> 
> > On Wed, 22 Oct 2003 12:23:58 -0700
> > "Grant" <listbox at email.com> wrote:
> >
> > > A while back (through the list) I got the following
> > instructions for using
> > > IC Jobs:
> > >
> > >
> > > #Put the following lines in catalog.cfg:
> > > Jobs base_directory etc
> > > Jobs log logs/cron.log
> > > Jobs email listbox at email.com (if you want any output from the cronjob be
> > > sent to you by email)
> > >
> > > Create a directory in the catalog directory: etc/mycronjobs
> > > and put a file or files containing valid ITL in it.
> > >
> > > As root:
> > > su -f -c '/usr/local/interchange-4.9.8/bin/interchange
> > > --runjobs=found498=mycronjobs' interch
> > >
> > > As interchange user:
> > > /usr/local/interchange-4.9.8/bin/interchange
> > --runjobs=found498=mycronjobs
> > >
> > >
> > > Now I'm ready to implement this with a bunch of files for the eBay/IC
> > > functionality I'm working on, and I don't see how to specify
> > how often you
> > > want each of the files executed.  Could someone please give me
> > some guidance
> > > on this?
> >
> > Run it from cron at the times you need. If you need to rely on
> > the completion
> > of the jobs every time, please follow up.
> >
> >
> > Bye
> > 	Racke
> 
> Could you show me an example of how you would run a file called
> list_ebay_items in the etc/mycronjobs directory once a week from cron after
> following the above instructions?
> 
> Also, what do you mean by:
> 
> "If you need to rely on the completion of the jobs every time, please follow
> up."

If a certain time limit is exceeded, the job will be killed.
The limit can be changed with the following setting in interchange.cfg:

Jobs MaxLifetime 3000

Ciao
	Racke

-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



More information about the interchange-users mailing list