Sponsored Content
Top Forums Shell Programming and Scripting Commented cron job -- cron monitoring Post 302854281 by Skrynesaver on Tuesday 17th of September 2013 04:30:44 AM
Old 09-17-2013
Code:
crontab -l | egrep'^( |[TAB])*#'

Where [TAB} is a literal tab character ([CTRL]-V & [TAB]) in shell/vi(m)
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Monitoring `cron`

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)
Discussion started by: Cameron
1 Replies

2. Shell Programming and Scripting

Cron job

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)
Discussion started by: pankajkrmishra
16 Replies

3. UNIX for Advanced & Expert Users

cron job

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)
Discussion started by: minar
1 Replies

4. UNIX for Dummies Questions & Answers

CRON usage for CRON job

can anybody explain the usage of CRON for adding a cron job. please provide an example also for better understanding !!! Thanks (1 Reply)
Discussion started by: skyineyes
1 Replies

5. Solaris

cron job

hi, how i woulsd be able to find that my cron job is running or not.. E.g abc (2 Replies)
Discussion started by: sam.whocares
2 Replies

6. Solaris

cron job starts new cron proccess

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)
Discussion started by: ron76
3 Replies

7. Shell Programming and Scripting

Cron job for monitoring processes

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)
Discussion started by: asalman.qazi
6 Replies

8. Shell Programming and Scripting

Cron Monitoring

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)
Discussion started by: mskalyani
5 Replies

9. Solaris

Cron job running even after cron is removed

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)
Discussion started by: chidori
4 Replies

10. Shell Programming and Scripting

Cron job - Need to run Cron every quarter at particular time

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
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)
All times are GMT -4. The time now is 12:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy