Am trying to write a script that will monitor `cron`, obviously this can only be done from another box (so I've figured) but I'm having a spot of bother...
We have two SCO 5.0.5 Unix boxes (.82 & .84).
I have the following script running on the .82 box presently.. being run from cron every 15... (1 Reply)
Hi All
I am trying to run a .sh file from cron but its not performing its intended purpose, though the same sh file works fine when triggered manually.Following mail I recieve when it tries to run the script.
*********************************************************
To: wlsdev05
Subject:... (16 Replies)
Hi,
Anyone please let me know how to add an entry for crontab while there are few of entries already in.
When I execute crontab -e, the entries which are added already are displayed. But, I need to add one more entry to the crontab and then after that I need to remove the entry without... (1 Reply)
I run cron in solaris 10 zone. One cron job which syncing files to nfs mounted on container, creates after finishing another cron proccess(/usr/sbin/cron), and after 100 existing cron proccesses next cron job will not start. It's too weird for me, I'm not able to solve this problem. Theoretically... (3 Replies)
I have to monitor several processes in my application .
i get the listing of these processes using the command ps -ax
i want to write a shell script that will monitor the processes and if a
process goes missing then it will send an email to my gmail account.
I want to run this... (6 Replies)
Hi
I have a script in cron entry
55 15-22 * * * /clocal/rcc/user/dgircc/bin/appcontext/dcClearAppContext.ksh TEST >/tmp/dcClearAppContext.out 2>&1
how can i monitor the script whether it has run each time thriygh or not ?
how can i monitor multiple scripts of this kind through a script... (5 Replies)
Hi ,
I have removed a cron for particular user , but cron job seems to be running even after the cron entry is removed. The purpose of the cron was to sendmail to user ( it uses mailx utility )
I have restarted cron and sendmail service still user is getting mail alerts from the cron job. And... (4 Replies)
Hi,
1)
If some job supposed to run on 1st of every month at 7 AM
In cron job when we have a blackout on the 1st ( i.e when 1st falls on a sunday ) how can we make the job run the next business day?
2) How can we run a job on 25th of every quarter 7 AM(jan,apr,jul,oct)
And if 25th... (5 Replies)
Discussion started by: System Admin 77
5 Replies
LEARN ABOUT DEBIAN
zone2sql
ZONE2SQL(8) System Manager's Manual ZONE2SQL(8)NAME
zone2sql - Convert ISC Bind zones to SQL
SYNOPSIS
zone2sql [OPTIONS]
DESCRIPTION
Zone2sql parses Bind named.conf files and zonefiles and outputs SQL on standard out, which can then be fed to your database.
zone2sql understands the Bind master file extension '$GENERATE' and will also honour '$ORIGIN' and '$TTL'.
For backends supporting slave operation (currently only the PostgreSQL backend), there is also an option to keep slave zones as slaves, and
not convert them to native operation.
By default, zone2sql outputs code suitable for the mysqlbackend, but it can also generate SQL for the Generic PostgreSQL and Oracle back-
ends.
OPTIONS
Input options:
--named-conf=<filename>
Read <filename> to get the bind configuration
--zone=<zone-file>
Parse only this zone file. Conflicts with --named-conf parameter.
--zone-name=<name>
When parsing a single zone without $ORIGIN statement, set this as the zone name.
Output options:
--bare Output in a bare format, suitable for further parsing. The output is formatted as follows:
domain_id<TAB>'qname'<TAB>'qtype'<TAB>'content'<TAB>prio<TAB>ttl
--gmysql
Output in format suitable for the default configuration of the Generic MySQL backend.
--gpgsql
Output in format suitable for the default configuration of the Generic PostgreSQL backend.
--mysql
Output in format suitable for the default configuration of the MySQL backend (the default output format).
--oracle
Output in format suitable for the default configuration of the Generic Oracle backend.
--transactions
For Oracle and PostgreSQL output, wrap each domain in a transaction for higher speed and integrity.
Other options:
--slave
Maintain slave status of zones listed in named.conf as being slaves. The default behaviour is to convert all zones to native opera-
tion.
--on-error-resume-next
Ignore missing files during parsing. Dangerous.
--help List all options
--verbose
Be verbose during conversion.
SEE ALSO pdns_server(8)PowerDNS December 2002 ZONE2SQL(8)