Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators How to Post in the The UNIX and Linux Forums Get all business days from week including today Post 302984137 by Don Cragun on Friday 21st of October 2016 03:04:52 AM
Old 10-21-2016
Moderator's Comments:
Mod Comment This message was posted in the wrong forum. Please respond to this issue in the thread Get business days including today's date. This thread is closed.
This User Gave Thanks to Don Cragun For This Post:
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Calculate 30/31 days from today date script

Hi Guys, I was working some time ago n was in need to calculate date 30/31 days from today including Feb (Leap yr stuff). Today date is variable depending on day of execution of script. I tried searching but was not able to get exactly what I needed....So at that I time I implemented by my own... (3 Replies)
Discussion started by: coolgoose85
3 Replies

2. Shell Programming and Scripting

Scheduling Cron Jobs on Business Days

Hello, is it possible to schedule cron jobs using business days instead of calendar days? I need to run several jobs on first and third business days of the month. I currently have this cron-tab entry which runs every week day at 5 AM. I need to schedule the same job on the 3rd Business day of the... (8 Replies)
Discussion started by: Pramodini Rode
8 Replies

3. UNIX for Dummies Questions & Answers

shell scripting - gives a message on Fridays and a countdown on other business days.

Hey - I need to write a shell script that gives a message on Fridays and a countdown on other business days. ("Today is Thursday, one day to go to Friday") I don't know if I should be scheduling a job for friday using the crontab command? Basically i'm totally lost. Any help would be greatly... (6 Replies)
Discussion started by: citizencro
6 Replies

4. Shell Programming and Scripting

UNIX date fuction - how to deduct days from today's date

Hi, One of my Unix scripts needs to look for files coming in on Fridays. This script runs on Mondays. $date +"%y%m%d" will give me today's date. How can I get previous Friday's date.. can I do "today's date minus 3 days" to get Friday's date? If not, then any other way?? Name of the files is... (4 Replies)
Discussion started by: juzz4fun
4 Replies

5. Shell Programming and Scripting

Working out days of the week and processing file in 3 working days

Hi guys i need advice on the approach to this one...... I have a file say called Thisfile.20130524.txt i need to work out from the date 20130524 what day of the week that was and then process the file in 3 working days. (so not counting saturday or sunday....(will not worry about bank... (2 Replies)
Discussion started by: twinion
2 Replies

6. Shell Programming and Scripting

Get business days including today's date

I am trying to get last 5 business day . trying for d in Mon Tue Wed Thu Fri do date +%Y%m%d -d "last $d" done gives me date Thu Oct 20 23:56:26 EDT 2016 20161017 20161018 20161019 20161013 20161014 expected output should be 20161017 20161018 20161019 20161020 (2 Replies)
Discussion started by: abhii
2 Replies
PAGESJAUNES(1p) 					User Contributed Perl Documentation					   PAGESJAUNES(1p)

NAME
pagesjaunes - Lookup phones numbers from www.pagesjaunes.fr SYNOPSIS
pagesjaunes [options ...] Options: -activite -business : Business type -nom -name : Name -prenom -firstname : First name -localite -town : Town -departement -district : Dept district or Region -useragent : String to be passed as User-Agent header (this may be needed to bypass user-agent detection) -fast : Submit the request directly without querying the form -separator : Character used to separate the fields (default ' ') -limit : Maximum number of results returned -english : Use the pagesjaunes.fr english interface -quiet : Turn off error messages display -help : Brief help message -man : Full documentation -version : Display version number You must provide the localite/town option, and either activite/business or nom/name option. The prenom/firstname option is ignored if the localite/town option is set. OPTIONS
-activite or -business Activity or business type you're looking for. This is a mandatory switch if you don't specify the -name or -nom switches. -nom or -name Name of the person or company you're looking for. Note that the search is done with a fuzzy match. -prenom or -firstname First name of the person you're looking for. This option is ignored if the -activite or -business are set. -adresse or -address Address of the person you're searching for. -localite or -town Name of the town. -department or -district Department district or Region you're searching in. -separator Character used to separate fields in the result set. Default is a tabulation character. -useragent The default user-agent string passed to the www.pagesjaunes.fr site is ""WWW::Search::Pagesjaunes/x.xx" where x.xx is the version of the module. Sometimes, it is needed to change it to other user-agent strings. -limit Maximum number of entries returned. Default is 50. If you set it to 0 or a negative number, it will return all the entries found. -english Use the english interface of pagesjaunes.fr. This means that you can enter business types in english (i.e. 'plumber' instead of 'plombier'), and error messages will be displayed in english. -quiet No error messages are printed when this switch is on -help Print a brief help message and exits. -man Prints the manual page and exits. -version Prints the version of the script and exits. DESCRIPTION
This script provides name, phone number and addresses of French telephone subscribers by using the http://www.pagesjaunes.fr directory and the WWW::Search::Pagesjaunes module. COPYRIGHT
Please read the Publisher information of <http://www.pagesjaunes.fr> available at the following URL: http://www.pagesjaunes.fr/pj.cgi?html-=commun/avertissement.html&lang=en <http://www.pagesjaunes.fr/pj.cgi?html-=commun/avertissement.html&lang=en> This script is Copyright (C) 2002, Briac Pilpre This script is free software; you can redistribute it or modify it under the same terms as Perl itself. AUTHOR
Briac Pilpre <briac@cpan.org> perl v5.12.4 2011-11-02 PAGESJAUNES(1p)
All times are GMT -4. The time now is 02:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy