02-08-2001
I think I made it with cron. I found out that cron is running by typing ps -aedf|grep cron (there was a process of /etc/cron running on the system). Then with crontab -e I appended the following line in the root file:
0 3 * * * /usr/default/tar cvbf 20 /dev/rst0 /u/csa
My purpose is that to create backups at 3am every day.
Still nothing with the printer though, but I'll figure it out.
Another question I'd like to ask is if there is something I can do, because my server seems to be "slow", especially when I'm printing large files (logistics).
I know that with Novell servers, I can decrease the amount of time needed for print queues to be printed. Does this happen in UNIX? Or it won't speed up my system?
10 More Discussions You Might Find Interesting
1. 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. (9 Replies)
Discussion started by: othman
9 Replies
2. 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
3. UNIX for Dummies Questions & Answers
Hi. I have a HP laseJet 4300 and a HP Laserjet 5M printers connected to our corporative network and their computers sometimes print their works normally and sometimes user have to make their print request twice. In this last case sometimes they isn't any network or OS response until the second... (1 Reply)
Discussion started by: luisben
1 Replies
4. Solaris
Hi All,
I am trying to configure printer in solaris 10 with the help of print manager. There is no printer attached to my system, ia m doing it for test purpose. However I am unable to do so coz its pops up window - Heading as error with option as dismiss and cancel. Kindly help as I am... (3 Replies)
Discussion started by: kumarmani
3 Replies
5. Solaris
Hello friends,
I need to test some of the solaris 10 concepts and veritas volume manager.i want to know ,where i get the testing labs or E-labs(online) for this practice.i ready to pay for this labs.pls kindly help me to get the details or website names...Thanks in Advance
-Jay (6 Replies)
Discussion started by: rjay.com
6 Replies
6. UNIX for Dummies Questions & Answers
Hi friends,
I have a script that sets the env variable path based on different conditions.
Now the new path variable setting should not done in the same terminal or same shell.
Only a new terminal or new shell should have the new path env variable set.
I am able to do this only as follows:
>cd... (1 Reply)
Discussion started by: sowmya005
1 Replies
7. Shell Programming and Scripting
Hello Everybody,
thanks in advance for spending some time in my problem.
My problem is this:
I want to call a java-Programm out of my shell skript, check if die return code is right, and split the output to the normal output and into a file.
The following code doesn't work right, because in... (2 Replies)
Discussion started by: danifunny
2 Replies
8. AIX
First a little background: I'm working with an AIX 6.1 TL05 running two mirrored SAS disks (rootvg) and four SSDs (appvg)
All four SSDs belong to appvg and are setup to mirror as follows:
hdisk4 --> hdisk6 (containing application fs)
hdisk5 --> hdisk7 (containing database fs)
A few days... (1 Reply)
Discussion started by: Michael Mullig
1 Replies
9. AIX
Hello,
I am runnning Infoprint Manager 4.3 on AIX 5.2 . There is no problem printing AFP files, but I have hit a snag trying to use "AIX DSS" or "Other Printer" actual destinations to send unconverted Postscript files to native Postscript printers.
The files are big, and they print correctly,... (0 Replies)
Discussion started by: ahetzel
0 Replies
10. UNIX for Dummies Questions & Answers
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
LEARN ABOUT CENTOS
yum-cron
yum-cron(8) yum-cron(8)
NAME
yum-cron - an interface to convieniently call yum from cron
SYNOPSIS
yum-cron [config-file]
DESCRIPTION
yum-cron is an alternate interface to yum that is optimised to be convenient to call from cron. It provides methods to keep repository
metadata up to date, and to check for, download, and apply updates. Rather than accepting many different command line arguments, the dif-
ferent functions of yum-cron can be accessed through config files.
config-file is used to optionally specify the path to the configuration file to use. If it is not given, the default configuration file
will be used. It is useful to be able to specify different configuration files for different use cases. For example, one configuration
file might be set to update the repository metadata, and a line could be added to the crontab to run yum-cron frequently using this file.
Then, another configuration file might be set to install updates, and yum-cron could be run from cron using this file just once each day.
FILES
/etc/yum/yum-cron.conf
/etc/yum/yum-cron-hourly.conf
SEE ALSO
yum (8)
AUTHORS
See the Authors file included with this program.
BUGS
There of course aren't any bugs, but if you find any, you should email
the mailing list, yum@lists.baseurl.org, or consult bugzilla.
Nick Jacek yum-cron(8)