× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.