06-20-2012
check the mail for cron messages and what it says ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I created a shell script and it works perfectly fine when I run from the command. But the same does not work as expected when I call it from a cron job.
Here is the shell script(scan.sh):
#
#
#Which directory to scan for files?... (7 Replies)
Discussion started by: janavenki
7 Replies
2. UNIX for Dummies Questions & Answers
Hello, I have the following crontab entry that does not seem to be running. When I check /var/cron/log, it is not there. Here is my os info:
SunOS birch 5.9 Generic_118558-09 sun4u sparc SUNW,Sun-Fire-V240
Here is the crontab entry:
01 21 * * * find /export/app/datafeed/flus/archive -mtime... (5 Replies)
Discussion started by: dkranes
5 Replies
3. Shell Programming and Scripting
I set up a new cron job. I have set cron jobs many times in the past and never faced issues. For some reasons my new cron job is not working.This is how my cron job looks like. plz help me out guys.
3,8,13,18,23,28,33,38,43,48,53,58 * * * * /siebel/sblp900/home/FSMTaskChk/script... (14 Replies)
Discussion started by: ragha81
14 Replies
4. Shell Programming and Scripting
Hello,
I have written a script that has a sudo command to change file permissions within it.
When I run the script manually, the sudo command inside of it works fine.
When the script is run through crontab I get the error "cron: not found".
It the same user profile that I am using... (6 Replies)
Discussion started by: WhotheWhat
6 Replies
5. Shell Programming and Scripting
Hi All
I have a flat text file. Each line in it contains a "/full path/filename". The last three columns are predictable, but directory depth of each line varies.
I want to sort on the last three columns, starting from the last, 2nd last and 3rd last. In that order. The last three columns... (6 Replies)
Discussion started by: JakeKatz
6 Replies
6. Shell Programming and Scripting
Hi Gurus,
I have a test unix server in which currently some unix cronjob are running.
I have written two script one is a shell script in which env variable are there (in that i am exporting those variables).
I have also written a perl script .
when i am running at the shell manually like... (5 Replies)
Discussion started by: sanjay.login
5 Replies
7. Shell Programming and Scripting
Hi all,
I wrote a script as below,
#!/bin/ksh
. /app/home/etc/sudo.profile >/dev/null
java -jar $HOME/abc.jar
The jar file abc.jar is located in the same folder as the script.
When I'm manually running that script the jar file gets executed. However if I set a cron job, it... (5 Replies)
Discussion started by: isaacniu
5 Replies
8. UNIX for Dummies Questions & Answers
cron process in AIX is there when I do ps -ef |grep cron, but none of cron job is working. It appears that cron process is hanging or having some issues? How do you resolve this? Do I kill the cron process by kill -9 PID? and how to start it?
Please advise. (1 Reply)
Discussion started by: Daniel Gate
1 Replies
9. AIX
Hi All,
I have a many cron jobs scheduled in my AIX server.
Only one cron not getting executed in the same server but that job is good on all other servers.
Here is my cron , which will keep last 30 files and remove others.,
00 00 * * * /usr/bin/find /tmp/reports/nmon -name *.nmon -mtime... (9 Replies)
Discussion started by: Thala
9 Replies
10. Shell Programming and Scripting
I have put a cron entry in oracle user for taking hot backup every wednesday@ 2.30 AM and have given the cron entry
30 02 * * 3 /u01/vijay/hotbackupcron 2>&1 >> /u01/vijay/hotbackup.log
also find below the script inside hotbackupcron, i have put in env variables as well
... (13 Replies)
Discussion started by: vijaymec50
13 Replies
LEARN ABOUT DEBIAN
tigercron
TIGERCRON(8) Administrator Commands TIGERCRON(8)
NAME
tigercron - Cron utility for Tiger UNIX Security Checker
SYNOPSIS
tigercron [controlfile] [-B basedir] [tigeroptions...]
DESCRIPTION
Tigercron is used to run periodically checks from the Tiger UNIX Security Checker. Tigercron reads a control file which is usually located
in '/etc/tiger/cronrc' although it can also be specificied as the first argument when calling the program. The format of this control file
is the same as for the cron program, each line indicates when different checks from Tiger will be run. The user can indicate where Tiger
is installed through the -B basedir parameter, any other additional options provided in the command line will be passed on to configure to
configure Tiger based on them (as described in tiger (8)).
Tigercron runs the specified checks and compares their reports with previous stored reports (under /var/log/tiger). It will then mail the
user defined in '/etc/tiger/tigerrc' (Tiger_Mail_RCPT) the results.
When a module is run, tigercron checks:
o If Tiger_Cron_Template is set to Y in tigerrc. If it is, it checks if there is a template stating which are the expected results.
o If Tiger_Cron_CheckPrev is set to Y in tigerrc. If it is, it checks if there is a previous run of the module it can check against.
A differential report is generated depending on the module reports and previous run and is sent through e-mail. These reports provide an
easy way to detect intrusions even if no configuration of templates has been done. In the event of an intrusion a Tiger check might detect
something specific (file changes, new processes, new users, etc.) and this alert mechanism provides a way to turn Tiger into a Host Intru-
sion Detection System (HIDS).
The ability of it to work as a proper HIDS is based on a good customization of the cronrc file. Modules that check events to which the host
is most exposed to should be run often in order to detect deviations from normal behaviour.
OPTIONS
Tigercron uses the same options as Tiger. A controlfile can be defined also to override the default.
FILES
/etc/tiger/tigerrc
Configuration file for the Tiger tool.
/etc/tiger/cronrc
Configuration file for the Tigercron tool.
/var/log/tiger
Location of the log messages generated by Tiger when run through cron
/var/lib/tiger/work
Working directory used by Tiger scripts to create temporary files.
SEE ALSO
tigexp(8),tiger(8),cron(8),crontab(5)
The deficiencies of using tigercron as a HIDS are described in the file README.hostids which is provided with the package. In Debian
GNU/Linux you will find this (and other related) documentation at /usr/share/doc/tiger/
BUGS
Currently Tigercron has only one alert mechanism (mail) and signatures are not supported. Thus, alerts could be faked. Also, it is depen-
dant on cron and will not work if cron is not working.
AUTHOR
This manpage was written by Javier Fernandez-Sanguino.
Security 19 September 2003 TIGERCRON(8)