ONYX - 9.0 - KB - Nettoyage des fichiers temporaires/en

Différence entre versions

De MappingDoc
(Page créée avec « The <FONT color="blue"> map_del </FONT> command clears the content of a folder as it filters it by name or extension. The following examples of commands are often used in... »)
 
(Une révision intermédiaire par le même utilisateur non affichée)
Ligne 2 : Ligne 2 :
 
A certain number of files are normally created in the ONYX Server temporary folder (<FONT color="blue"> PATH_TEMP </FONT> variable in the configuration): connection files to the Web interface (cookies), files derived from Workflow processings, etc.
 
A certain number of files are normally created in the ONYX Server temporary folder (<FONT color="blue"> PATH_TEMP </FONT> variable in the configuration): connection files to the Web interface (cookies), files derived from Workflow processings, etc.
  
La commande <FONT color="blue"> map_cron</FONT> permet de supprimer tous les fichiers cookies en ne conservant qu’un historique d’un jour.
+
The <FONT color="blue"> map_cron</FONT> command deletes all cookie files as it only keeps a one-day history.
  
 
Linux: <code>/apps/mapping/bin/<FONT color="blue"> map_cron -cleanid </FONT></code>
 
Linux: <code>/apps/mapping/bin/<FONT color="blue"> map_cron -cleanid </FONT></code>
Ligne 8 : Ligne 8 :
 
Windows: <code>E:\MappingWindows\Applications\<FONT color="blue"> map_cron.exe -cleanid </FONT></code>
 
Windows: <code>E:\MappingWindows\Applications\<FONT color="blue"> map_cron.exe -cleanid </FONT></code>
  
La commande <FONT color="blue"> map_del </FONT> permet de nettoyer le contenu d’un répertoire en filtrant sur un nom ou sur une extension. Les exemples de commandes suivants sont fréquemment utilisés dans un script d’épuration ‘standard’ pour ONYX Server :
+
The <FONT color="blue"> map_del </FONT> command clears the content of a folder as it filters it by name or extension. The following examples of commands are often used in ‘standard’ ONYX Server clearing scripts:
  
 
*Linux:
 
*Linux:

Version actuelle datée du 27 août 2019 à 13:44

Autres langues :
English • ‎français

A certain number of files are normally created in the ONYX Server temporary folder ( PATH_TEMP variable in the configuration): connection files to the Web interface (cookies), files derived from Workflow processings, etc.

The map_cron command deletes all cookie files as it only keeps a one-day history.

Linux: /apps/mapping/bin/ map_cron -cleanid

Windows: E:\MappingWindows\Applications\ map_cron.exe -cleanid

The map_del command clears the content of a folder as it filters it by name or extension. The following examples of commands are often used in ‘standard’ ONYX Server clearing scripts:

  • Linux:
/apps/mapping/bin/map_del -path:/apps/mapping/temp -filter_ext:tmp
/apps/mapping/bin/map_del -path:/apps/mapping/temp -filter_ext:ttf
/apps/mapping/bin/map_del -path:/apps/mapping/temp -filter_ext:xps
/apps/mapping/bin/map_del -path:/apps/mapping/temp -filter_name:compress_*
/apps/mapping/bin/map_del -path:/apps/mapping/temp -filter_name:*.0
/apps/mapping/bin/map_del -path:/apps/mapping/temp -filter_name:*.1
  • Windows:
E:\MappingWindows\Applications\map_del.exe -path:E:\MappingWindows\Applications\Temp -filter_ext:tmp
E:\MappingWindows\Applications\map_del.exe -path:E:\MappingWindows\Applications\Temp -filter_ext:ttf
E:\MappingWindows\Applications\map_del.exe -path:E:\MappingWindows\Applications\Temp -filter_ext:xps
E:\MappingWindows\Applications\map_del.exe -path:E:\MappingWindows\Applications\Temp -filter_name:compress_*
E:\MappingWindows\Applications\map_del.exe -path:E:\MappingWindows\Applications\Temp -filter_name:*.0
E:\MappingWindows\Applications\map_del.exe -path:E:\MappingWindows\Applications\Temp -filter_name:*.1