Salut,

J'ai fait un .bat qui me génère un biar avec la date du jour dans le nom du biar :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 
set Annee=%date:~6,4%
set Mois=%date:~3,2%
set Jour=%date:~0,2%
 
set FicBIAR=E:/BIAR/%Annee%%Mois%%Jour%_ALL.biar
set FicPropertiesBIAR=E:\BIAR\BiarProperties.properties
 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Création du fichier .properties
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
echo # Génération dynamique du fichier properties>%FicPropertiesBIAR%
echo action=exportXML>>%FicPropertiesBIAR%
echo exportBiarLocation=%FicBIAR%>>%FicPropertiesBIAR%
echo userName=Administrator>>%FicPropertiesBIAR%
echo password=xxx>>%FicPropertiesBIAR%
echo CMS=SERVER:6400>>%FicPropertiesBIAR%
echo authentication=secEnterprise>>%FicPropertiesBIAR%
echo includeSecurity=true>>%FicPropertiesBIAR%
echo exportDependencies=true>>%FicPropertiesBIAR%
echo exportQuery1 = Select * FROM CI_infoobjects where si_kind in('FulClient','Folder' )>>%FicPropertiesBIAR%
echo exportQuery2 = select * from ci_systemobjects where si_kind in ('User','UserGroup')>>%FicPropertiesBIAR%
echo exportQuery3 = Select * from ci_Appobjects where SI_KIND in ('Folder','MetaData.DataConnection','Overload','Universe')>>%FicPropertiesBIAR%
echo exportQueriesTotal=^3>>%FicPropertiesBIAR%
echo #FIN du fichier properties>>%FicPropertiesBIAR%
 
 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Génération du BIAR
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
cd E:\BusinessObjects\common\4.0\java\lib
java -jar biarengine.jar %FicPropertiesBIAR%
Ca fonctionne très bien quand je le lance manuellement. Par contre, en le planifiant avec Windows, ça ne marche pas
Pourtant, je le planifie avec le même user (Admin).

Vous avez-déjà rencontré ce problème ?
Merci !
(Bon, faut p'tet que je poste ce message sur le forum Windows par contre ?)