04-30-2007
othman, please review our
rules which state:
Quote:
(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post or send a private message where your goal is to get an answer more quickly.
Your
first thread was not even an hour old when you posted this second thread.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a SCO OpenServer 5 running on a cosmetics store with two branches.
I have a serial printer on one branch connected via a router with my server on a digiboard. The printer model is Brother M-4318 running as model epson. The point is that whenever I reboot the server it loses it's settings... (2 Replies)
Discussion started by: pappous
2 Replies
2. SCO
Hi
We are running SCO ver 5. Recently the cron daemon stopped running on its own. How do I find out why? How do I restart/stop it?
I typed cron but it didn't work. Will rebooting it do the trick or can I manually start and stop the cron daemon?
Please help.
Thanks & Regards. (0 Replies)
Discussion started by: othman
0 Replies
3. Shell Programming and Scripting
Hi everybody!
I'm struggling against a script that won' t work right in a cron job
this is my script:
cat serverlist | while read arg
do
if
then
echo "$arg"
ping -c 4 $arg >> /dev/null
if
then
... (3 Replies)
Discussion started by: deppy82
3 Replies
4. UNIX for Dummies Questions & Answers
Hi There
Kindly inform me on how to start and stop the print services in Unix from the command line. (2 Replies)
Discussion started by: esh
2 Replies
5. Linux
Running as cron, I get error msg in mail: KERBEROS_V4 rejected as an authentication type,
even though the ftp does work. Can anyone explain this? Is there a way to stop it?
cron:
35 6 * * 1-5 ./PSS/pss.sh >> ./PSS/pss.log
script pss.sh:
#!/usr/bin/ksh
DIR=/home/informix/PSS... (0 Replies)
Discussion started by: ejaggers
0 Replies
6. AIX
In the production hacmp 5.3 is running with three nodes but i want to add new node to cluster with out stopping the application ie with same resource group if any bady know pls help me. (1 Reply)
Discussion started by: manjunath.m
1 Replies
7. Shell Programming and Scripting
I have the following script working fine, and need to generate a file delimiter (with tab or special character) for Excel data import. The script will run every hour in crontab to append the new rows to the delimiter, so that I can collect the data for i.e. a week, which will give me a lot of... (0 Replies)
Discussion started by: Daniel Gate
0 Replies
8. Shell Programming and Scripting
Hi everyone,
I have this problem with a script I'm writting. I want to execute a code running in the background several times through a script. I am writting it like that
parent_script
for a in 1 2 3 4 5
do
exec test -n $a
done
What I want to do is when parent_script is killed,... (0 Replies)
Discussion started by: geovas
0 Replies
9. UNIX for Dummies Questions & Answers
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
10. UNIX for Advanced & Expert Users
I would like the smb and nmb to start on boot.
In the terminal (as root) I did:
/sbin/chkconfig smb --addor
chkconfig --add sambaor
chkconfig --add /sbin/smbdresault is message like below :
error reading information on service smb: No such file or directory
Please use CODE tags as... (2 Replies)
Discussion started by: momed131
2 Replies
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)