ONYX - 9.0 - Exploitation - Guide d'exploitation ONYX Server sur Windows/en

Différence entre versions

De MappingDoc
(Page créée avec « *To delete log files without creating a back-up: C:\M-ProcessingServer\Applications\map_cron.exe -cleanlog -delete »)
 
(8 révisions intermédiaires par le même utilisateur non affichées)
Ligne 29 : Ligne 29 :
 
  C:\M-ProcessingServer\Applications\map_cron.exe -cleanlog -delete
 
  C:\M-ProcessingServer\Applications\map_cron.exe -cleanlog -delete
  
==== Epuration des statistiques ====
+
====Clearing statistics====
  
Sur le même principe que précédemment, les fichiers correspondants aux statistiques et rapports d’utilisation de M-Processing Server peuvent être nettoyés :
+
Similarly, the stats files and usage reports in ONYX Server can be cleared:
  
C:\M-ProcessingServer\Applications\map_cron.exe -cleanstats [ -delete ]
+
  C:\M-ProcessingServer\Applications\map_cron.exe -cleanstats [ -delete ]
  
=== Nettoyage des fichiers temporaires ===
+
=== Clearing temporary files ===
  
En fonctionnement normal, un certain nombre de fichiers sont créés dans le répertoire temporaire de M-Processing Server (variable PATH_TEMP dans la configuration) : fichiers « cookie » de connexion à l’interface Web, fichiers issus des traitements de Workflows, etc.
+
Under normal operation, a number of files are created and stored in the Temp folder (PATH_TEMP variable) such as Web connection files i.e. "cookies", Workflow files, etc.
  
La commande map_cron permet de supprimer tous les fichiers cookies, en ne conservant qu’un historique d’un jour :
+
Using the <code>map_cron</code> command you can delete all cookies, while keeping the cookies of the day only:
 
  C:\M-ProcessingServer\Applications\map_cron.exe -cleanid
 
  C:\M-ProcessingServer\Applications\map_cron.exe -cleanid
  
La commande map_del permet de nettoyer le contenu d’un répertoire, en filtrant sur un nom ou sur une extension. Les exemples de commandes suivants seront fréquemment utilisés dans un script d’épuration ‘standard’ pour M-Processing Server :
+
The <code>map_del</code> command clears the content of a folder filtered by name or extension. The following examples are often used in ‘standard’ ONYX Server clearing scripts:
 
  C:\M-ProcessingServer\Applications\map_del.exe -path:E:\M-ProcessingServer\Applications\Temp -filter_ext:tmp
 
  C:\M-ProcessingServer\Applications\map_del.exe -path:E:\M-ProcessingServer\Applications\Temp -filter_ext:tmp
 
  C:\M-ProcessingServer\Applications\map_del.exe -path:E:\M-ProcessingServer\Applications\Temp -filter_ext:ttf
 
  C:\M-ProcessingServer\Applications\map_del.exe -path:E:\M-ProcessingServer\Applications\Temp -filter_ext:ttf

Version actuelle datée du 9 décembre 2019 à 16:04

Autres langues :
English • ‎français

Clearing Spooler files

The Spooler creates and keeps a certain number of files which we advise you clear on a regular basis: saved jobs, log files, statistics. This can be done using an ONYX Server command map_cron.exe.

Clearing jobs

All the jobs in the Spooler have a specific retention time attribute (in days). The solution uses this attribute to clear the "expired" jobs in the Spooler, in other words, those with an exceeded retention time.

There are two commands:

  • Delete saved jobs (already processed) where retention time is exceeded:
Windows: C:\M-ProcessingServer\Applications\map_cron.exe -date
  • Delete all jobs (any status) where retention time is exceeded:
Windows: C:\M-ProcessingServer\Applications\map_cron.exe -dateall

Note: For them to carried out be correctly, these commands must be run when the Spooler is also running. Only the Spooler can interact with its jobs, the previous commands can only send deletion queries to the Spooler.

Clearing log files

The map_cron command clears the ONYX Server log files. Options can be set to keep archived copies of each log file before they are deleted, if necessary.

  • To create a log archive (ZIP) before deletion:
C:\M-ProcessingServer\Applications\map_cron.exe -cleanlog

By default, the archive is saved at the root of the Onyx Server log folder (PATH_LOG variable) and named according to the date/time when the command was run. Example: 2019_07_25_15_16.zip

  • To delete log files without creating a back-up:
C:\M-ProcessingServer\Applications\map_cron.exe -cleanlog -delete

Clearing statistics

Similarly, the stats files and usage reports in ONYX Server can be cleared:

 C:\M-ProcessingServer\Applications\map_cron.exe -cleanstats [ -delete ]

Clearing temporary files

Under normal operation, a number of files are created and stored in the Temp folder (PATH_TEMP variable) such as Web connection files i.e. "cookies", Workflow files, etc.

Using the map_cron command you can delete all cookies, while keeping the cookies of the day only:

C:\M-ProcessingServer\Applications\map_cron.exe -cleanid

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

C:\M-ProcessingServer\Applications\map_del.exe -path:E:\M-ProcessingServer\Applications\Temp -filter_ext:tmp
C:\M-ProcessingServer\Applications\map_del.exe -path:E:\M-ProcessingServer\Applications\Temp -filter_ext:ttf
C:\M-ProcessingServer\Applications\map_del.exe -path:E:\M-ProcessingServer\Applications\Temp -filter_ext:xps
C:\M-ProcessingServer\Applications\map_del.exe -path:E:\M-ProcessingServer\Applications\Temp -filter_name:*.0
C:\M-ProcessingServer\Applications\map_del.exe -path:E:\M-ProcessingServer\Applications\Temp -filter_name:*.1
C:\M-ProcessingServer\Applications\map_del.exe -path:E:\M-ProcessingServer\Applications\Temp -filter_name:*.2
C:\M-ProcessingServer\Applications\map_del.exe -path:E:\M-ProcessingServer\Applications\Temp -filter_name:*.3
C:\M-ProcessingServer\Applications\map_del.exe -path:E:\M-ProcessingServer\Applications\Temp -filter_name:*.4
C:\M-ProcessingServer\Applications\map_del.exe -path:E:\M-ProcessingServer\Applications\Temp -filter_name:*.5