Sponsored Content
Top Forums Shell Programming and Scripting How to add decimal month to some month in sql, php, perl, bash, sh? Post 302904104 by Scrutinizer on Monday 2nd of June 2014 07:55:55 AM
Old 06-02-2014
Welcome to the forums. Is this homework?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl Script : Split given month into weeks

I want to split a given month into weeks. For example if I give the date in dd/mm/yy format say 01/02/08 it should give output in the given format : week1 : start date and end date. week2 : "" week3 : "" week4 : "" (5 Replies)
Discussion started by: khushbu_roy
5 Replies

2. Shell Programming and Scripting

Isolating the Month in Perl

munt=`date '+%m` will isolate the month in digit form 02 = Feb Trying to get the same out of perl just cant see it $stimx = localtime($^T); print ((split/ /,$stimx)); (4 Replies)
Discussion started by: popeye
4 Replies

3. UNIX for Dummies Questions & Answers

print previous month (current month minus 1) with Solaris date and ksh

Hi folks month=`date +%m`gives current month Howto print previous month (current month minus 1) with Solaris date and ksh (7 Replies)
Discussion started by: slashdotweenie
7 Replies

4. Shell Programming and Scripting

Script to counting a specific word in a logfile on each day of this month, last month etc

Hello All, I am trying to come up with a shell script to count a specific word in a logfile on each day of this month, last month and the month before. I need to produce this report and email it to customer. Any ideas would be appreciated! (5 Replies)
Discussion started by: pnara2
5 Replies

5. Shell Programming and Scripting

perl : searching for month and storing the date and time in an array

I am writing the code in perl. I have an array in perl and each variable in the array contains the data in the below format Now I need to check the below variable w.r.t system month I need to store the date and time(Tue Aug 7 03:54:12 2012) from the below data into file if contains only 'Aug'... (5 Replies)
Discussion started by: giridhar276
5 Replies

6. Shell Programming and Scripting

Convert From Month Number to Month Name

Hi, I have a script that accepts an input date from the user in yyyy-mm-dd format. I need to get the mm-dd part and convert it to month name. example: 2011-11-15 I want that to become "Nov 15" I don't have the GNU date, I am using an AIX os. Thanks. (1 Reply)
Discussion started by: erin00
1 Replies

7. Shell Programming and Scripting

Need last month files after 10th of every month

Hi, I need all file names in a folder which has date >= 10th of last month, Example : files in folder AUTO_F1_20140610.TXT BUTO_F1_20140616.TXT CUTO_F1_20140603.TXT FA_AUTO_06012014.TXT LA_AUTO_06112014.TXT MA_AUTO_06212014.TXT ZA_AUTO_06232014.TXT Output: AUTO_F1_20140610.TXT... (9 Replies)
Discussion started by: nani1984
9 Replies

8. UNIX for Advanced & Expert Users

To pass one month range in sql script

Hi Guys, i am having .sql script which inserts data from one table to another table based on date condition, i need to pass range on based on how many number of months, for e.g set timing on; whenever sqlerror exit failure; spool myscript.log append accept start_date... (7 Replies)
Discussion started by: rohit_shinez
7 Replies

9. Shell Programming and Scripting

Remove new line and convert Month to Decimal

# Sample input common-name www.test.com.au expiration Dec 21 01:00:31 2017 GMT common-name www.test1.com.au expiration Jan 19 04:41:03 2018 GMT # Desired Output # Field 1: Domain name # Field 2: Date/time converted to Austraian format DD/MM/YYYY and on the same line as Domain Name. #... (7 Replies)
Discussion started by: thangbom
7 Replies

10. Linux

Bash Display First Friday of the next month

Hello, I need to find the date of next first Friday of the month and set as a variable in a bash script ie - FIRSTFRIDAY=$(date -dfirst-friday +%d) I know date -dfirst-friday doesn't work, but unsure if I can use this / cal + awk or something else to find the right date of the... (7 Replies)
Discussion started by: summerdays
7 Replies
SABNZBDPLUS(1)						      General Commands Manual						    SABNZBDPLUS(1)

NAME
sabnzbdplus - a web-based binary newsgrabber with nzb support. SYNOPSIS
sabnzbdplus [-f <configfile>] [[...other options]] DESCRIPTION
SABnzbd+ is a web-based binary newsgrabber written in Python, with support for the popular nzb file format. It takes one or more nzb files as input and from there on does all the work, including fetching files, checking file integrity, and unpacking. Configuration can be done via the web interface or in the configuration file. Multiple servers are supported, as well as secure (ssl) connections, ipv6, scheduling, pausing and resuming downloads, queue manipulation, rss feeds, newzbin and nzbmatrix integration, automatic sorting, a download history, email notifications, and custom post-processing scripts. An extensive API allows third party applications to interact with the program. USAGE
To run the program execute sabnzbdplus, then point your favorite web browser to http://<host>:<port>. The host and port settings default to localhost and 8080, respectively; the default port for https connections is 9090. New nzb files may be queued for download by putting them in the watched directory, adding them via the web interface, or from rss feeds. OPTIONS
-h --help Show a list of options -f --config-file <filename> Location of the configuration file -s --server <host:port> Hostname or ip address and port to listen on -t --templates <template> Primary interface templates -2 --template2 <template> Secondary templates, available at http://<host>:<port>/sabnzbd/m -l --logging <0..2> Log level (0 for least, 2 for most) -w --weblogging <0..2> Cherrypy (built-in web-server) logging (0 for off, 1 for on, 2 for file-only) -b --browser <0..1> Automatically launch browser (0 for off, 1 for on) -d --daemon Fork daemon process (run the program in the background) --pid <path> Create a pid file in the listed folder (full path) --force Discard web-port timeout -v --version Show version -c --clean Remove queue, cache and logs -p --pause Start paused --https <port> Port to listen on for https connections --repair Add orphaned jobs from the incomplete folder to the queue --repair-all Try to reconstruct the queue from the incomplete folder with full data reconstruction --log-all Log all article handling (for developers) --new Run a new instance of SABnzbd, instead of starting the UI of the existing instance FILES
~/.sabnzbd/ Default location for the program's configuration file and internal administration ~/Downloads/ Default location for downloaded files /etc/default/sabnzbdplus Configuration file for the init.d script AUTHOR
This man page was written by JCF Ploemen <linux@jp.pp.ru> and is licensed under the GNU GPL, version 2 or later. SEE ALSO
Project wiki with extensive user documentation: http://wiki.sabnzbd.org SABnzbd+ homepage and support forums: http://sabnzbd.org Version 0.6.3 June 2011 SABNZBDPLUS(1)
All times are GMT -4. The time now is 07:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy