If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > crontab

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-24-04, 13:51
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
Thumbs down crontab

Hi,

I need execute a program with a cron, this program is development in informix 4GL (pp.4ge), how will be to do this isntruction.

Thank yuo for advance.
Reply With Quote
  #2 (permalink)  
Old 02-24-04, 14:28
bull_abraham bull_abraham is offline
Registered User
 
Join Date: Feb 2004
Posts: 32
Do the following.........
1. echo " 00 23 24 2 2 /home/app_dev/program.sh" > ~/cron.app_dev
2. cd ~
3. crontab cron.app_dev

Make sure you have the environment setup , to do this, you call create a shell script(program.sh) and setup the environment and then call the 4GL program from there.

00-- Minutes
23-- Hours
24 Day
2 Month
2 Day of Week

-Abraham
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On