Sponsored Content
Full Discussion: Trouble with cron
Operating Systems Linux Trouble with cron Post 303018857 by killerserv on Sunday 17th of June 2018 10:59:04 PM
Old 06-17-2018
Trouble with cron

Hello World!
Need some advise. I setup few crons on my server, but to my surprise none of them seems working. Any idea what am i missing here? Is group rights a must in order for cron to run?

Crontab:
Code:
mandrel@sp74t0006c :[/etc/cron.d(14825)]$cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# For details see man 4 crontabs

# Example of job definition:
# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |
# *  *  *  *  * user-name command to be executed

mandrel@sp74t0006c :[/etc/cron.d(14825)]$

My cron:
Code:
#################################################################################################################
#
5 * * * * /opt/fabpkg/home/mandrel/data_adm/sophi/mapsmove/run_mandrel_mapsmove.sh > /dev/null 2>&1
20 * * * * /opt/fabpkg/home/mandrel/data_adm/sophi/oref_inspect/run_oref_inspect.sh > /dev/null 2>&1
25 * * * * /opt/fabpkg/home/mandrel/data_adm/sophi/oref_inspect_bdft/run_oref_inspect_bdft.sh > /dev/null 2>&1
30 * * * * /opt/fabpkg/home/mandrel/data_adm/sophi/sizedata/run_sizedata.sh > /dev/null 2>&1
35 * * * * /opt/fabpkg/home/mandrel/data_adm/sophi/summary/run_sophia_summary.sh > /dev/null 2>&1
0,10,20,30,40,50 * * * * /opt/fabpkg/home/mandrel/data_adm/sophi/qc/run_qc_daemon.sh > /dev/null 2>&1
5,15,25,35,45,55 * * * * /opt/fabpkg/home/mandrel/data_adm/sophi/ellipsometer/run_ellipsometer_daemon.sh > /dev/null 2>&1
0,10,20,30,40,50 * * * * /opt/fabpkg/home/mandrel/data_adm/sophi/ivs/run_mandrel_ivs.sh > /dev/null 2>&1

---------- Post updated at 10:59 AM ---------- Previous update was at 10:41 AM ----------

Sorry guys, i should have be more careful. Ive screwed up with the paths. Corrected it and now it works.

Kindly delete this thread. My appology!
 

10 More Discussions You Might Find Interesting

1. AIX

AIX and cron logs filtering ?: /etc/cronlog.conf, /var/adm/cron/log

Hi, I can use 'crontabs –e' and do all the scheduling I like. However I would like to auto send myself just the cronjobs logs that fail. That is to say the PIDs that fail and the related lines with those PID’s only. (Not the full set of logs) Has anyone done this work? Or does an AIX 5.3 tool... (0 Replies)
Discussion started by: Keith Johnson
0 Replies

2. 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

3. 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

4. UNIX for Dummies Questions & Answers

Trouble with cron

Here is what my crontab shows when I do crontab -e # fields minute(0-59) hour(0-23) day(1-31) month(1-12) day of week (0-6, 0=sun) # 30 04 * * 06 /home/rkruck/scripts/shell/backup 15 9 * * * /home/rkruck/scripts/shell/get_passwd_files The first script runs no problem as... (5 Replies)
Discussion started by: rkruck
5 Replies

5. Solaris

User entry in both cron.allow and cron.deny

Hello All, Anybody please help me to know ,what happens when a user having entry in both cron.allow and cron.deny files.Wheather the user will be able to access the crontab??? Thanks in advance Vaisakh (5 Replies)
Discussion started by: ksvaisakh
5 Replies

6. UNIX for Dummies Questions & Answers

How are cron.allow and cron.deny read?

Hi, all! I was working on my Debian, minding my own business but then I wanted to see what happened if the same user was included on both cron.allow and cron.deny :p I would have bet that cron.deny was going to override cron.allow for security reasons, but my computer proved me wrong:... (3 Replies)
Discussion started by: pereyrax
3 Replies

7. 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

8. Shell Programming and Scripting

Commented cron job -- cron monitoring

Hi I have a requirement to write a shell script,that will check the all commented job in cron job.Please help !! (2 Replies)
Discussion started by: netdbaind
2 Replies

9. 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

10. UNIX for Dummies Questions & Answers

Execution problem with Cron: Script works manually but not w/Cron. Why?

Hello gurus, I am making what I think is a simple db2 call from within a shell script but I am having difficulty producing the desired report when I run the script shown below from a shell script in cron. For example, my script and the crontab file setup is shown below: #!/bin/ksh db2... (3 Replies)
Discussion started by: okonita
3 Replies
stl_mi(4)						     Kernel Interfaces Manual							 stl_mi(4)

NAME
stl_mi - Software distribution master inventory files DESCRIPTION
Each software product that is distributed as subsets for the setld(8) command has an associated master inventory file. The master inventory file's name consists of the product's unique 3-letter name and a 3-digit version number with the string .mi for a suffix. The master inven- tory file is used by the software kitting program kits(1) in producing software distribution packages. A master inventory file contains one ASCII record, describing vendor-specified attribute information, for each file in the product kit. Each record is composed of three fields which must be separated by TAB characters. The fields are: A 16-bit unsigned integer. Bit 1 is the v (volatility) bit; when it is set, changes to the existing copy of the file can occur during kit installation. It is usually set for log files required by applications. The remaining bits are reserved. Possible values for this field are therefore 0 or 2. The dot-relative (./) pathname of the file described by this record. Each pathname must appear only once in the master inventory file. Pathnames must begin with a period (.). Records must be sorted in ascending ASCII sequence on this field. The name of the subset containing the file. Standard system directories are not included in subsets; they are represented by the keyword RESERVED in place of a subset name. Files that exist in the product hierarchy but are not distributed as part of any subset have a minus sign (-) in this field. Files that share a gnode (links) must all be included in the same subset. EXAMPLES
This example shows a section of the master inventory for a hypothetical layered product kit: 0 . RESERVED 0 ./usr/opt RESERVED 0 ./usr/opt/OAT100 OATDCB100 0 ./usr/opt/OAT100/bin OATDCB100 0 ./usr/opt/OAT100/bin/attr OATDCB100 0 ./usr/opt/OAT100/bin/dcb.spr OATDCB100 0 ./usr/opt/OAT100/bin/dcb_defaults OATDCB100 0 ./usr/opt/OAT100/bin/dcb_diag.sed OATDCB100 0 ./usr/opt/OAT100/bin/docbld OATDCB100 0 ./usr/opt/OAT100/bin/unstamp OATDCB100 0 ./usr/opt/OAT100/lib OATDCB100 0 ./usr/opt/OAT100/lib/br OATDCB100 0 ./usr/opt/OAT100/lib/br/README.dcb OATDCB100 0 ./usr/opt/OAT100/lib/br/attr.1 OATDCBDOC100 0 ./usr/opt/OAT100/lib/br/dcb.ps OATDCBDOC100 0 ./usr/opt/OAT100/lib/br/docbld.1 OATDCBDOC100 0 ./usr/opt/OAT100/lib/br/docbld.5 OATDCBDOC100 0 ./usr/opt/OAT100/lib/br/unstamp.1 OATDCBDOC100 0 ./usr/opt/OAT100/lib/doclib OATDCB100 0 ./usr/opt/OAT100/lib/doclib/templates OATDCB100 0 ./usr/opt/OAT100/lib/doclib/templates/conv.braces OATDCB100 0 ./usr/opt/OAT100/lib/doclib/templates/conv.command OATDCB100 . . . RELATED INFORMATION
invcutter(1), kits(1), newinv(1), setld(8) Guide to Preparing Product Kits delim off stl_mi(4)
All times are GMT -4. The time now is 04:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy