Hello all, I am a complete newbie to Unix and therefor also to this forum. I have an assignment for Uni, and need your help to understand something.
I need to use crontab and tar to schedule a weekly backup of a folder and its contents. I want the tarball to be stored in the users/float directory. The folder name is Important, and is found in /users/float.
I expected "Important.tar" to show up in users/float at 15.45 Today, but it didn't. Why? I am using Cygwin on my laptop which runs Windows 7.
Last edited by Scott; 09-08-2013 at 08:26 AM..
Reason: Code tags for quote tags
Instead of the first five fields, one of eight special strings may appear:
string meaning
------ -------
@reboot Run once, at startup.
@yearly Run once a year, "0 0 1 1 *".
@annually (same as @yearly)
@monthly Run once a month, "0 0 1 * *".
@weekly Run once... (2 Replies)
I have the following crontab entry.
0,30 00-16 * * *
This job runs every 30 minutes between the hours of 12:00AM and 4:00PM. How can I have it stop at 4:30PM instead?
Thank you,
David (3 Replies)
I have a script which shoud run after every 30 minutes.Though I know abt crontab, unfortunately I dont have access/authorization to use crontab in my terminal.
Could any one pls let me know how to schedule the script without crontab ?
Regards
Prashant:) (3 Replies)
Hi,
I have a script which will query the DB and added to crontab at 1,2,6,7 AM everyday and sends a email if count is 0.
Now the problem is, if crontab is disabled it doesn't sends a mail.
Please tell me how can I handle this situation in the script. (2 Replies)
All,
I'm a newbie with crontab and I need your help with schedule a cold-backup running every Sunday at 7am except 1st of the month.
Thank you so much. (2 Replies)
Hi,
My script is in $home/bin/sample.sh.
I want to run the script for 3times a day,
first execution will be at 08:00 am.
second execution will be at 16:00 pm
third will be at 23:59 pm.
what will be the entry with this requirement?? (1 Reply)
Hi all,
I would like to schedule a crontab script, which should run From 8pm Thursday to 2am Friday and it should run every 10 minutes. I have put a script like below, is it the correct one.
10 01,02,20,21,22,23,00 * * 4-5 /u01/app/test.ksh
Any other options available to schedule the same... (6 Replies)
Hi All,
How to schedule crontab on all day except sunday and monday means from tuesday to saturday at 06:00AM. (3 Replies)
Discussion started by: Riverstone
3 Replies
LEARN ABOUT LINUX
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 /usr/local/share/GeoIP
-f Specifies the configuration file that contains the license key. Defaults to /usr/local/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
/usr/local/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)