Sponsored Content
Top Forums Shell Programming and Scripting crontab: setup cronjob to run first wednesday of every month Post 302548107 by vbe on Wednesday 17th of August 2011 12:08:14 PM
Old 08-17-2011
Already answered...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Cron to schedule 1st Wednesday of every Month??

Is there a way to use cron to run a job on the 1st Wednesday of every month?? The more generic question is, "Are all of the fields in crontab AND'd together or are some OR'd?". i.e. I had an entry in my crontab this morning as follows and I didn't expect it to run since the day of month is 20... (5 Replies)
Discussion started by: bradtri
5 Replies

2. Shell Programming and Scripting

Cronjob Crontab Cron Restarter Help

Hello. I'd like to know how to make a simple restarter using cron. I made something like this: "* * * * * root home/..(full path)/file" But it doesn't work. How can I do that or how to make restarter of the application in other way? (1 Reply)
Discussion started by: ArtuDitu
1 Replies

3. Shell Programming and Scripting

crontab entry to run every last day of the month

i've created a script which should run every last day of the month. what would be the exact crontab entry for this? thanks! (9 Replies)
Discussion started by: tads98
9 Replies

4. Solaris

crontab entry to run a script on 1st of every month.

What should be the crontab entry in solaris to run a script on 1st of every month? Is this correct? 00 02 1 * * <script to be executed> (5 Replies)
Discussion started by: deepaksahni0109
5 Replies

5. AIX

My script didn't run every run every minute at cronjob

In my cronjob, I would like to schedule my script.sh to run every minutes. I crontab -e and have in line below but it didn't seems to run at all. * * * * * script.sh When I run it manually, I can run it. Is that anything wrong with the above line? If I change it to something like below,... (4 Replies)
Discussion started by: ngaisteve1
4 Replies

6. UNIX for Dummies Questions & Answers

How to Set up a cronjob On 4th Sunday of every Month?

How to Set up a cronjob which will run On 4th Sunday of every Month at 8:00 PM :( (11 Replies)
Discussion started by: tp2115
11 Replies

7. Shell Programming and Scripting

Cronjob not working from user's crontab

Hi All, I am trying to execute a python script from a user's crontab. /home/user1/UDE/scripts/UdeManager.py I am at /home/user1. If I run the command "/home/user1UDE/scripts/UdeManager.py" from the users home directory its working fine. But when I try to run from user's cron tab its... (3 Replies)
Discussion started by: Tuxidow
3 Replies

8. UNIX for Dummies Questions & Answers

How to create a cronjob for the 3rd business day of every month?

Hello, Can you please help me out in creating a cronjob that runs every 3rd business day of the month. Thanks (2 Replies)
Discussion started by: AReddy
2 Replies

9. Shell Programming and Scripting

How to setup cronjob 3rd sunday of every month?

Hi All, I need to set up cronjob for every third sunday of the month. here i have seen one example for 4th sunday for every month in another post and it looks perfect.can anyone please help me to understand this and help me to get the setup for third sunday of every month.Thanks. this is... (7 Replies)
Discussion started by: netdbaind
7 Replies

10. Shell Programming and Scripting

Schedule a shell script without crontab every Wednesday at 10 AM

HI Guys I need one shell script to be scheduled to run one shell script to be executed automatically every Wednesday at 10 AM Without crontab and "at" command.. Could you provide your suggestions ? Thanks and Regards kshitij Kulshreshtha (6 Replies)
Discussion started by: kshitij
6 Replies
IMAP_FETCH_OVERVIEW(3)							 1						    IMAP_FETCH_OVERVIEW(3)

imap_fetch_overview - Read an overview of the information in the headers of the given message

SYNOPSIS
array imap_fetch_overview (resource $imap_stream, string $sequence, [int $options]) DESCRIPTION
This function fetches mail headers for the given $sequence and returns an overview of their contents. PARAMETERS
o $ imap_stream -An IMAP stream returned by imap_open(3). o $sequence - A message sequence description. You can enumerate desired messages with the X,Y syntax, or retrieve all messages within an interval with the X:Y syntax o $options -$sequence will contain a sequence of message indices or UIDs, if this parameter is set to FT_UID. RETURN VALUES
Returns an array of objects describing one message header each. The object will only define a property if it exists. The possible proper- ties are: o subject - the messages subject o from - who sent it o to - recipient o date - when was it sent o message_id - Message-ID o references - is a reference to this message id o in_reply_to - is a reply to this message id o size - size in bytes o uid - UID the message has in the mailbox o msgno - message sequence number in the mailbox o recent - this message is flagged as recent o flagged - this message is flagged o answered - this message is flagged as answered o deleted - this message is flagged for deletion o seen - this message is flagged as already read o draft - this message is flagged as being a draft EXAMPLES
Example #1 imap_fetch_overview(3) example <?php $mbox = imap_open("{imap.example.org:143}INBOX", "username", "password") or die("can't connect: " . imap_last_error()); $MC = imap_check($mbox); // Fetch an overview for all messages in INBOX $result = imap_fetch_overview($mbox,"1:{$MC->Nmsgs}",0); foreach ($result as $overview) { echo "#{$overview->msgno} ({$overview->date}) - From: {$overview->from} {$overview->subject} "; } imap_close($mbox); ?> SEE ALSO
imap_fetchheader(3). PHP Documentation Group IMAP_FETCH_OVERVIEW(3)
All times are GMT -4. The time now is 11:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy