Sponsored Content
Top Forums Shell Programming and Scripting Calculating expiry date using date,sed,grep Post 302567559 by r4v3n on Monday 24th of October 2011 11:37:42 AM
Old 10-24-2011
Because a.com has crossed its time to live of 3 days. In the original master list the entry is:

Code:
a.com 19

and today is the 23rd. The difference is 4 days which is greater than the TTL of 3 days. So it goes out of the master list.

Can you please explain your code, So I understand what's going on
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

domain expiry date

Hi all, I want to write a shell script that read line by line of a file that have all domain names written, after reading complete file it will give us following output. Domain Name Expiry Days-Left abcd.com 20-Feb-200 6 10 How can i acheive that script... (6 Replies)
Discussion started by: learnbash
6 Replies

2. UNIX for Advanced & Expert Users

Digital Certificate Expiry Date

HI, I want to know the certificate expiry dates and who is owner of the certificate installed in UNIX. example certiface name 1)SSL 2)Veri Sign Trust Network (1 Reply)
Discussion started by: RG18173
1 Replies

3. Shell Programming and Scripting

Extract Expiry date and server_name from the following file

Hi Guys, I am trying to write one ksh script where I have to go to lots of unix boxes and read one text file which will have data like this though this is not complete data. And I just have to extract expire date ( which is 2nd date value 08/31/2009 in the first one ) and the server name ( astro... (0 Replies)
Discussion started by: pareshan
0 Replies

4. UNIX for Dummies Questions & Answers

Find user password expiry date

Does anyone know a simple way to find out the expiry date of my UNIX user password? I do not have root access to the box. Surely there is a way to so this... (4 Replies)
Discussion started by: oztoma
4 Replies

5. SuSE

Disable the password expiry date

Hi, We are going to create the new user, using that user we are automate the work, but every 90 days password get expired how can i create or avoid the expiry the password. (1 Reply)
Discussion started by: kingganesh04
1 Replies

6. UNIX for Advanced & Expert Users

expiry date for files?

Hi, Is there any way i can give an expiry date for files that i create? For example, i would like to get a file deleted automatically after 60 days from the creation date. Is there any possibility for this in Unix? Thanks, RRVARMA (3 Replies)
Discussion started by: RRVARMA
3 Replies

7. Shell Programming and Scripting

Expiry date of shell script

Hello folks, I have question about my expiry of shell script, today date is 2009-11-11, i will have to deploy a script today, how i should setup that my script will not work after 2010-05-11, Between if someone will change the date of server then script will again not work, please give... (3 Replies)
Discussion started by: learnbash
3 Replies

8. Shell Programming and Scripting

Password expiry date check for hp servers

Hi All, Can anybody help me, to find the command to check for the password expiry date for the hp servers. Thanks, Deepak (3 Replies)
Discussion started by: dswain
3 Replies

9. Shell Programming and Scripting

Calculating using date

I need to help to calculating using date in a script. One application is licensed by date, some month at a time. I can read the date from system and get an output like this: echo $status 6A34 System4 01.01.11-31.01.11 My goal is to use license date 31.01.11 and subtract todays date... (7 Replies)
Discussion started by: Jotne
7 Replies

10. Solaris

expiry date of an account

can an user see the expiry date of its own account,also can the user know whether it is having peer access or not. Thanks, Megh (2 Replies)
Discussion started by: megh
2 Replies
TV_GRAB_NO_GFEED(1p)					User Contributed Perl Documentation				      TV_GRAB_NO_GFEED(1p)

NAME
tv_grab_no_gfeed - Grab TV listings for Norway. SYNOPSIS
tv_grab_no_gfeed --help tv_grab_no_gfeed --configure [--config-file FILE] [--gui OPTION] tv_grab_no_gfeed [--config-file FILE] [--days N] [--offset N] [--output FILE] [--quiet] [--debug] tv_grab_no_gfeed --list-channels [--config-file FILE] [--output FILE] [--quiet] [--debug] DESCRIPTION
Output TV and listings in XMLTV format for many stations available in Norway. First you must run tv_grab_no_gfeed --configure to choose which stations you want to receive. Then running tv_grab_no_gfeed with no arguments will get a listings for the stations you chose for five days including today. OPTIONS
--configure Prompt for which stations to download and write the configuration file. --config-file FILE Set the name of the configuration file, the default is ~/.xmltv/tv_grab_no_gfeed.conf. This is the file written by --configure and read when grabbing. --gui OPTION Use this option to enable a graphical interface to be used. OPTION may be 'Tk', or left blank for the best available choice. Additional allowed values of OPTION are 'Term' for normal terminal output (default) and 'TermNoProgressBar' to disable the use of Term::ProgressBar. --output FILE When grabbing, write output to FILE rather than standard output. --days N When grabbing, grab N days rather than 5. --offset N Start grabbing at today + N days. N may be negative. --quiet Suppress the progress-bar normally shown on standard error. --debug Provide more information on progress to stderr to help in debugging. --list-channels Output a list of all channels that data is available for. The list is in xmltv-format. --version Show the version of the grabber. --help Print a help message and exit. ERROR HANDLING
If the grabber fails to download data for some channel on a specific day, it will print an errormessage to STDERR and then continue with the other channels and days. The grabber will exit with a status code of 1 to indicate that the data is incomplete. ENVIRONMENT VARIABLES
The environment variable HOME can be set to change where configuration files are stored. All configuration is stored in $HOME/.xmltv/. On Windows, it might be necessary to set HOME to a path without spaces in it. SUPPORTED CHANNELS
For information on supported channels, see http://data.epg.no/ AUTHOR
Mattias Holmlund, mattias -at- holmlund -dot- se. This documentation and parts of the code copied from tv_grab_uk by Ed Avis, ed -at- membled -dot- com. BUGS
perl v5.14.2 2012-06-30 TV_GRAB_NO_GFEED(1p)
All times are GMT -4. The time now is 09:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy