batch - VisualCron - Forum

Community forum

fudoh
  •  fudoh
  • No customer Topic Starter
2009-04-07T21:53:08Z
with Cron I start a *.bat-file which calls a list of other *.bat-files.
each of this batch-files call´s another bath.
the problem is, that just the first *.bat won´t be called if I run the script over Cron. the next 40 bats will be called.

can anyone help me?
bbusse
2009-04-07T22:40:50Z
Fudoh,

Can you provide some more information, maybe the first few lines of your primary batch file?


Are you referring to something like thist? VisualCron would execute Main.bat, and then that batch file calls others?


Main.bat Contents:
Call firstbatch.bat
Call 2ndBatch.bat
Call 3rdBatch.bat


Let us know,

Brian
fudoh
  •  fudoh
  • No customer Topic Starter
2009-04-07T23:40:45Z
hi brian,

here a short overview.

first, render.bat is started by cron.
there is:

SET pfad_2160=\\grafik_server\_scripts\2160\_short_render\
SET pfadFTP=\\grafik_server\_scripts\
SET job=render_EURO_

rem ---- tile (2160)
call %pfad_2160%%job%tile001.bat
call %pfad_2160%%job%tile002.bat
.
.

each of these bat-files is filled just with variables and it starts the MAIN.bat.
the main.bat checks, renders, copies, ... files.
when it´s done the main.bat will be closed and the next tile*.bat will be started.

thanks for your help!
Support
2009-04-07T23:50:23Z
Is it possible to create a very simple sample of this that we can reproduce. I mean, the smallest chain available.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top