1. To determine if your cron job is running:
Read the contents of /var/cron/log.
Do not restart cron unless you are sure that:
a: your script has been written correctly
b: the output that you are expecting has been directed to the correct location
We recently upgrade from AIX 4.3.3 to AIX 5.3, We noticed that some cronjobs that run for our programmers did not fire off this morning. You can crontab -l and -e and see the jobs. Did AIX 5.3 change something?
Thanks
Mike (1 Reply)
I set up same cronjobs in two different users to generate messages at 5:30 AM
Not Its generating duplicate messages.
I want to delete the cron entries set up in the first user, but I am unable to view the entries in that user.
I tried to find the process Id, but its not showing any id
Could... (2 Replies)
Hi,
We have 4 jobs to be run every month on different times -
* a daily job runs once in 2 days at 3PM
*a weekly runs every thursday at 3PM
* a monthly runs last day of month either 30 or 31st at 3PM
* 4th job runs on 3rd of every month at 3Pm
How can I set the crontab for these 4 jobs... (4 Replies)
Hello people,
I had these cronjobs scheduled in some Unix boxes which were running fine until yesterday.But then the password was changed for that user id and then the jobs stopped working. As far as i know cron jobs run from super user. I am completely lost over here now.
Thanks. (2 Replies)
hello all,
I have a shell script and I need to schedule it in crontab, I have the next line:
06 16 * * 1,2,3,4,5 /usr/bin/ksh /path/path/name.sh > /path/path/name.log
first, I scheduled from Monday to Friday but it doesn't run, the log file is empty.. any idea why is causing this?... (14 Replies)
Hi there,
i've a question about cronjobs. I'm creating a concept for a centralized logging repository using log4j/log4net. Sadly the appenders I want to use (fileappenders) aren't telegram based but need a permanent stream to the repository. Because I can not assure this I want to log these... (6 Replies)
Our cron job stats its started on Oct20
% ps -ef | grep cron
root 1442044 1 0 Oct 20 - 25:23 /usr/sbin/cron
All the below jobs aixmf,aixgh are triggered from cron only.
user pid ppid date time cmd
gaix 1581282 1 35 16:33:01 - 20:56... (1 Reply)
Hello Everyone,
We have a cronjob scheduled to pick up files from one system and transfer to another system. the underlying code is a shell script. These cronjobs were working correctly until sometime. 2 days back they did not pick up the scripts but created empty logs. However when we tried... (6 Replies)
Hey Guys,
i've got a big issue... I've to find all running scripts in all crontabs. Is there a possibility to display all crontabs of each user?
What i've already tried? The following script:
for user in $(cut -f1 -d: /etc/passwd); do crontab -l $user; done
I'm already root but i didn't... (3 Replies)
Discussion started by: Marcusg562
3 Replies
LEARN ABOUT PLAN9
cron
CRON(8) System Manager's Manual CRON(8)NAME
cron - clock daemon
SYNOPSIS
auth/cron [-c]
DESCRIPTION
Cron executes commands at specified dates and times according to instructions in the files /cron/user/cron. It runs only on an authentica-
tion server. Option -c causes cron to create /cron/user and /cron/user/cron for the current user; it can be run from any Plan 9 machine.
Blank lines and lines beginning with # in these files are ignored. Entries are lines with fields
minute hour day month weekday host command
Command is a string, which may contain spaces, that is passed to an rc(1) running on host for execution. The first five fields are integer
patterns for
minute 0-59
hour 0-23
day of month 1-31
month of year 1-12
day of week 0-6; 0=Sunday
The syntax for these patterns is
time : '*'
| range
range : number
| number '-' number
| range ',' range
Each number must be in the appropriate range. Hyphens specify inclusive ranges of valid times; commas specify lists of valid time ranges.
To run the job, cron calls host and authenticates remote execution, equivalent to running rx host command (see con(1)). The user's profile
is run with $service set to rx.
Cron is not a reliable service. It skips commands if it cannot reach host within two minutes, or if the cron daemon is not running at the
appropriate time.
EXAMPLES
Here is the job that mails system news.
% cat /cron/upas/cron
# send system news
15 8-17, 21 *** helix /mail/lib/mailnews
%
SOURCE
/sys/src/cmd/auth/cron.c
SEE ALSO con(1), rc(1)CRON(8)