https:///weradocs/WeraDesk_24/mkcron_scan.shtml Last update:

WERA HF Radar Software - mkcron_scan - handle frequency scan crontab entries

mkcron_scan reads and interprets control parameters from the extended header file at /home/wera/weractrl/scan_data.cpy.
mkcron_scan generates entries into the wera crontab file if a continuous measurement and adaptive frequency control is requested by WeraDesk.
The setting start_acq==0 && finish_acq==1 requests mkcron_scan to remove the entries from the crontab file.

The syntax for calling mkcron_scan is:

Fortran:
         SYS_STAT = SYSTEM('nohup /home/wera/weractrl/mkcron_scan '//
     *                '/home/wera/weractrl/scan_data.cpy '//
     *                '/home/wera/weractrl/cron_hawaii '//
     *                '/home/wera/weractrl/cron_hawaii.log > /dev/zero &')

Unix command line:
$ mkcron_scan /path/to/xheader_file /path/to/crontab_file /path/to/log_file

The following lines show a typical crontab entry:

wera@ifmwera2:~/weractrl> crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/home/wera/weractrl/cron_hawaii installed on Fri Jun  3 12:30:16 2005)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
#Start - WERA automatic crontab entry
8,18,28,38,48,58 * * * * /home/wera/weractrl/stm /home/wera/weractrl/scan_data.cpy /home/wera/weractrl/cron_hawaii s > /home/wera/weractrl/cron_hawaii.log
#End --- WERA automatic crontab entry

The basic functions of mkcron_scan are identical to mkcron.


Comments to: gurgel@ifm.uni-hamburg.de (Klaus-Werner Gurgel)