03-24-2007
which file is updated after modified the crontab entries.
Hi all,
i want to know which file is updated after changes the modifications/new entries in crontab.
Please help regarding this.
regards
Krishna
10 More Discussions You Might Find Interesting
1. Programming
I cannot read the last moment
the file was modified - it returns
"Most recent access" instead:
code:
</td>
<th><?FILE *fatr=fopen(iindname.c_str(), "r");
if(fatr){
struct stat statbuf;
fstat(fileno(fatr), &statbuf);
fclose(fatr);
?> ... (4 Replies)
Discussion started by: szzz
4 Replies
2. UNIX for Dummies Questions & Answers
Hi EVERYONE!!...
Just a simple (yet critical from my perspective) doubt... I would like to know who had edited my file.. when I use
ls -l
command, I see my ID.. but when I edit using some other ID, I had expected that ID to be shown.. but still
ls -l
shows my ID only..
So, is there any... (4 Replies)
Discussion started by: mohanprabu
4 Replies
3. UNIX for Dummies Questions & Answers
Made changes to a file using vi editor and saved those changes
now realised that the changes are not required
How can I get the previous version of the file.i.e the one which was there on which I had made changes (3 Replies)
Discussion started by: novice100
3 Replies
4. Shell Programming and Scripting
hi gurus,
i would like to know how can i find logs files which were recently modified or updated? :confused:
using this command?
find . -name "*.log" -mtime ??
so what should i put for mtime?
thanks.
wee (9 Replies)
Discussion started by: lweegp
9 Replies
5. Shell Programming and Scripting
Hi,
I want to modify a filename in AIX by attaching the last modified timestamp. I want the timestamp completely in numerical format (eg:200905081210. yr-2009, mnth - 05, date -08, hr - 12, mins - 10).
For example if the filename is a.log and it was modified on April 6th 2008 at 21.00. I... (16 Replies)
Discussion started by: Ruks
16 Replies
6. Shell Programming and Scripting
Hi,
I have a file, fileA, that consists of two fields. Field 1 has an old object name, and field 2 has a new object name. I would like to search and replace a master file, FileB, by substituting the old object name (field 1 in fileA) with the new object name ( field 2 in fileA).
FileA:... (16 Replies)
Discussion started by: pitccorp01
16 Replies
7. Shell Programming and Scripting
i have a requirement where i needed to change variable values in a properties file(first file) whenever there is change to Release details file(second file). My question is do i have to create a daemon process that always checks the modified time/inode change of the second file and then change the... (1 Reply)
Discussion started by: saikiran_1984
1 Replies
8. Shell Programming and Scripting
Hi,
I am looking for a shell script with the following.
1. It should check whether a particular file exists in a location
#!/bin/sh
if ;
then
echo "xxx.txt File Exists"
else
echo "File Not Found"
fi
2. If file exists, it should check for the modified date and run a command... (2 Replies)
Discussion started by: karthikeyan_mac
2 Replies
9. UNIX for Dummies Questions & Answers
I have an ant script that puts my crontabtemplate changes out on a solaris server. But I am scratching my head trying to figure out what to do next on getting the actual crontab file updated with changes. Somone have suggestions on reads or links to figure this out?
thx in advance (2 Replies)
Discussion started by: vsekvsek
2 Replies
10. Shell Programming and Scripting
I have created a shell script "abcd.sh" and script should run after every 10 min., For that I will create below entry in the crontab file by using command crontab -e
*/10 * * * * /cdr/work/proc_raw/abcd.sh >> /dev/null 2>&1
I wish to know whether above entry is correct or I have to make entry... (2 Replies)
Discussion started by: Devesh5683
2 Replies
LEARN ABOUT SUSE
geoipupdate
GEOIPUPDATE(1) General Commands Manual GEOIPUPDATE(1)
NAME
geoipupdate - a program for updating the MaxMind GeoIP databases
SYNOPSIS
geoipupdate [-v] [-f licensefile]
DESCRIPTION
geoipupdate automatically updates the GeoIP database for GeoIP subscribers. It connects to the MaxMind GeoIP Update server and checks for
an updated database. If it finds an updated database, then it downloads it, uncompresses it, and installs it. If you are running a fire-
wall, it requires that the DNS and HTTP (80) ports be open.
For example
geoipupdate -v
Performs the update in verbose mode.
OPTIONS
-v Verbose mode, prints out the steps that geoipupdate takes.
-d Specify a custom directory target to install the GeoIP datafile(s). By default geoipupdate installs to /var/lib/GeoIP
-f Specifies the configuration file that contains the license key. Defaults to /etc/GeoIP.conf
USAGE
Typically you'll want to write a weekly crontab that will run geoipupdate. Below is a sample crontab that runs geoipupdate on each Wednes-
day at noon:
# top of crontab
MAILTO=your@email.com
0 12 * * 3 BIN_DIR/geoipupdate
# end of crontab
RETURN CODES
geoipupdate returns 0 on success, 1 on error.
FILES
/etc/GeoIP.conf
Configuration file for GeoIP, should contain license key.
AUTHOR
Written by T.J. Mather
REPORTING BUGS
Report bugs to <support@maxmind.com>
COPYRIGHT
Copyright (C) 2006 MaxMind LLC
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
Visit <http://www.maxmind.com/app/products> to sign up for a GeoIP subscription.
geoiplookup(1), crontab(5)
4th Berkeley Distribution 14 May 2006 GEOIPUPDATE(1)