03-07-2005
perfect
it runs.. how can change my entry to run every half hour?
new entry:
* * * * * /u12/archive/rm_arch.sh
its interesting SUN's website shows first entry is for minutes. why it didnt work when I put 1 in the first place?
old entry
1 * * * * /u12/archive/rm_arch.sh
thanks
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi!
can anyone tell me how to save a file from command line?
Any help appreciated. (2 Replies)
Discussion started by: hufs375
2 Replies
2. Programming
Hello! I have a problem:
I compile some function, which must save file:
=====================
// prog.cpp
void save_file(){
FILE *fs = fopen("file.txt", "w");
if(!fs) cerr<< "cannot save";
fprintf(fs, "This is a text file.");
fclose(fs)
}
=====================
If i compile it from... (8 Replies)
Discussion started by: szzz
8 Replies
3. Shell Programming and Scripting
hi i would like someone to assist me to find out how i can Write a script called save which copies a file into a special directory, and another called recover which copies a file back out of the special directory. The user of the script should not be aware of the location of the special directory... (2 Replies)
Discussion started by: swainaina
2 Replies
4. UNIX for Dummies Questions & Answers
I'm trying to create a new crontab entry for a user on a debian box but whenever I do a crontab -e or crontab -u username -e then edit the crontab (with vim as my default editor) and :wq. I get the error message:
no crontab for username - using an empty one
crontab: no changes made to crontab... (18 Replies)
Discussion started by: fire>ant>
18 Replies
5. UNIX for Dummies Questions & Answers
I edit crontab with vi editor, i delete the lines i wanted, but i can't save!
i tried the :w, :wq, ZZ commands and it seems like vi is unfamiliar with it.
any suggestions? (3 Replies)
Discussion started by: idan_cn
3 Replies
6. Shell Programming and Scripting
hi there !
i have exactly the same problem like this guy here
https://www.unix.com/shell-programming-scripting/127668-getting-curl-output-verbose-file.html
i am not able to save the curl verbose output..
the sollution in this thread (redirecting stderr to a file) does not work for me.... (0 Replies)
Discussion started by: crabmeat
0 Replies
7. Linux
Hi,
I'm trying to save a crontab configuration using SSH, acessing a Linux machine from a Windows desktop.
So, in the prompt I type "crontab -e", to edit crontab, and a window is opened.
But after writing the changes, I press Save button but it seems not working, because when... (1 Reply)
Discussion started by: Roger75
1 Replies
8. Ubuntu
How to save crontab?
I have try both method below but can't save it.
FIRST METHOD error message
hit 'escape' and then the following:
:wq
http://i.imgur.com/nY2YI.jpg
SECOND METHOD error message
ctrl + s
http://i.imgur.com/ECzl0.jpg (3 Replies)
Discussion started by: mampwamp
3 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I am trying to simplify things for two people who will be taking over my role whilst i go on leave. In doing so, i wanted to find a way that upon login to unix, the crontab would be reloaddd and resaved.
I want to do this due to our IT dept taking the server down more often of late... (5 Replies)
Discussion started by: KlintJ
5 Replies
10. Shell Programming and Scripting
I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below:
Core Utilization
CoreId %Usr %Sys %Total
------ ----- ----- ------
5 4.91 0.01 4.92
6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
0 Replies
LEARN ABOUT REDHAT
fastjar
FASTJAR(1) GNU FASTJAR(1)
NAME
fastjar - archive tool for Java archives
SYNOPSIS
fastjar -ctxu [OPTIONS] [jar-file] [manifest-file] [-C dir] files...
DESCRIPTION
"fastjar" is an implementation of Sun's jar utility that comes with the JDK, written entirely in C, and runs in a fraction of the time
while being feature compatible.
If any file is a directory then it is processed recursively. The manifest file name and the archive file name needs to be specified in the
same order the -m and -f flags are specified.
OPTIONS
Exactly one of the following actions must be specified:
-c Create new archive.
-t List table of contents for archive.
-x Extract named (or all) files from archive.
-u Update existing archive.
The following parameters are optional:
-@ Read the names of the files to add to the archive from stdin. This option is supported only in combination with -c or -u. Non
standard option added in the GCC version.
-C directory
Change to the directory and include the following file.
-E Prevent fastjar from reading the content of a directory when specifying one (and instead relying on the provided list of files to
populate the archive with regard to the directory entry). Non standard option added in the GCC version.
-M Do not create a manifest file for the entries.
-i Generate an index of the packages in this jar and its Class-Path.
-J All options starting with -J are ignored.
-0 Store only; use no ZIP compression.
-V
--version
Display version information.
-f archive
Specify archive file name.
-m manifest
Include manifest information from specified manifest file.
-v Generate verbose output on standard output.
Parameters of the form @option{@}FILE are considered to be names of files, and are expanded with the contents of the file.
All remaining options are considered to be names of files.
SEE ALSO
gcj(1), gij(1), grepjar(1) and the Info entry for gcj.
COPYRIGHT
Copyright (C) 2002, 2007, 2008 Matthias Klose
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any later version. A copy of the license is included in the man page
gfdl(7).
0.97 2008-10-16 FASTJAR(1)