MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » June 2008

RE: Wait for one hour and then run



fixed

ADDJOBSCDE CMD(the job you want submitted)

Add 1 hour to the current time to get the date and time for ADDJOBSCDE.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Raul A. Jager W.
Sent: Thursday, June 05, 2008 3:06 PM
To: Midrange Systems Technical Discussion
Subject: Wait for one hour and then run

I have a program for seling newspaper ads by credit card.

It works like this:

Customer selects the ad, how big, how many days, etc. and gets the
price,
Next I send him to the site of the credit card processor.
Once finish, the customer gets send back and I verify (with the
processor) if the transaction is Ok.

Now I have to take the steps to recover the transaction if something
goes wrong, like customer abandoning the card processor or not returnig
to finish the transaction.

One idea is to send a job to a jobq to be executed in 1 hour from now,
if it founds the transaction completed, just returns, otherwise calls
the processor and finishes or rejects the transaction.
Is there a way to tell sbmjob to wait for one hour? Or I need to set
date and time?

Any better ideas?

TIA







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact