07-02-2003
No, I mean what I said. Put the line I gave inside the shell script. Near the top. Don't add stuff to it. Now when you run the shell script the output will go to the file you specify.
Then in crontab, just put the name of the script.
Post the script. And post the crontab line.
Did you check cron's logs?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone, I'n new on this... And I don't have experience.
I need to know how to enable rsh between solaris and tru64.
I don't know what i need to modify or install. I really don't have idea.
If somebody has documentation about this, or has a procedure to do this.
I really will... (1 Reply)
Discussion started by: cm247a
1 Replies
2. Solaris
Hi Guys,
Please suggest how to stop rsh on Solaris 10
Thanks
Manu (1 Reply)
Discussion started by: b_manu78
1 Replies
3. Solaris
Hi..
At linux
I can edit crontab with command
$crontab -e
BUT I don't know to edit crontab at Solaris
because I tried with command $crontab -e
I can't do that
Can you help me...?
Thanks for solution
regards,
srilinux (25 Replies)
Discussion started by: srilinux
25 Replies
4. Solaris
Hi Friends,
I am trying to execute rsh commands from Solaris 10 system to AIX system.
When I give;
Solaris10# rsh <hostname> ls -l , it gives me an error
rshd : 0826-826 The host name for your address is not known
At the same time,
Solaris10# rsh <hostname> ---- gives me remote shell of... (25 Replies)
Discussion started by: jumadhiya
25 Replies
5. UNIX for Dummies Questions & Answers
All,
I have two AIX 5.3 systems that needs to run rsh commands on a Solaris 8 system, and one is failing. One, xx402 is a dedicated machine, and the other, xx452 is a virtual one on (via VIO).
The xx402 has no problem with the rsh commands but I keep getting "Permission Denied" when the... (5 Replies)
Discussion started by: kjbaumann
5 Replies
6. Solaris
dear all
Please suggest how to stop rsh on Solaris 10
Thanks
murad jaber (2 Replies)
Discussion started by: murad.jaber
2 Replies
7. Solaris
hi
I want to run a script every 30 minutes in Solaris 10 x86
I tried
0,30 * * * * /tmp/script.sh
but it does not run.
any idea? (1 Reply)
Discussion started by: melanie_pfefer
1 Replies
8. Solaris
Unable to execute commands using rsh in Solaris 9 and 10.
When I execute this command " rsh -n 172.16.67.91 ls -l " I am getting this error message.
::ffff:172.16.67.91: Connection refused
Please guide me how to enable rsh.
Thanks & Regards
Durgaprasad (1 Reply)
Discussion started by: durgaprasadr13
1 Replies
9. UNIX for Dummies Questions & Answers
Can anyone point me in the right direction..
I have a test system which requires vxWorks to be loaded via TCPIP
I am using a Sun ultra10 box with Sol 9.0 installed as the server
I have configured the server and am able to load the boot image without any problems. I assume it is using the... (0 Replies)
Discussion started by: shortsrkt
0 Replies
10. Solaris
Hi
we run rsh (password-less) among solaris 9/10 boxes very frequently and would like to know if there exist any logs which will capture either login session or the commands run (using rsh) or with any other info.
TIA
Reddy (0 Replies)
Discussion started by: reddyr
0 Replies
CRONTAB(1) General Commands Manual CRONTAB(1)
NAME
crontab - maintain crontab files for individual users (ISC Cron V4.1)
SYNOPSIS
crontab [-u user] file
crontab [-u user] [-l | -r | -e]
DESCRIPTION
Crontab is the program used to install, deinstall or list the tables used to drive the cron(8) daemon in ISC Cron. Each user can have
their own crontab, and though these are files in /var, they are not intended to be edited directly.
If the cron.allow file exists, then you must be listed therein in order to be allowed to use this command. If the cron.allow file does not
exist but the cron.deny file does exist, then you must not be listed in the cron.deny file in order to use this command. If neither of
these files exists, only the super user will be allowed to use this command.
If the -u option is given, it specifies the name of the user whose crontab is to be tweaked. If this option is not given, crontab examines
"your" crontab, i.e., the crontab of the person executing the command. Note that su(8) can confuse crontab and that if you are running
inside of su(8) you should always use the -u option for safety's sake.
The first form of this command is used to install a new crontab from some named file or standard input if the pseudo-filename ``-'' is
given.
The -l option causes the current crontab to be displayed on standard output.
The -r option causes the current crontab to be removed.
The -e option is used to edit the current crontab using the editor specified by the VISUAL or EDITOR environment variables. After you exit
from the editor, the modified crontab will be installed automatically.
SEE ALSO
crontab(5), cron(8)
FILES
/etc/cron.allow
/etc/cron.deny
STANDARDS
The crontab command conforms to IEEE Std1003.2-1992 (``POSIX''). This new command syntax differs from previous versions of Vixie Cron, as
well as from the classic SVR3 syntax.
DIAGNOSTICS
A fairly informative usage message appears if you run it with a bad command line.
AUTHOR
Paul Vixie <vixie@isc.org>
4th Berkeley Distribution 29 December 1993 CRONTAB(1)