Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Run script on every second sunday Post 302493538 by masquerer on Thursday 3rd of February 2011 03:26:35 AM
Old 02-03-2011
Network Run script on every second sunday

I was to schedule a script in a crontab after every 15 days specically on every 2nd Sunday.

I know that i can schedule on basis of weekdays, but can it be done by skipping in between???Smilie
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Crontab job to run every sunday

Hello, I wanted to run one of my shell script for every sunday at 5PM. Here is the crontab entry i am using.. 00 17 * * 0 /inventory/update.sh > /inventory/update.log 2>&1 The job is not kicking on sunday at the specified time.. Am i missing anthing? Any help is appreciated... (2 Replies)
Discussion started by: govindts
2 Replies

2. UNIX for Advanced & Expert Users

Autosys job run on Sunday

Hi, I need to create a autosys job which will run on every sunday at 7:30 AM NY time for each 10 min interval of time. days_of_week: su start_mins: 0,10,20,30,40,50 run_window:"07:30" Is it fine? Please help Thanks, Anup (2 Replies)
Discussion started by: anupdas
2 Replies

3. Shell Programming and Scripting

how to run an already made script run against a list of ip addresses solaris 8 question

how to run an already developed script run against a list of ip addresses solaris 8 question. the script goes away and check traffic information, for example check_GE-VLANStats-P3 1.1.1.1 and returns the results ok. how do I run this against an ip list? i.e a list of 30 ip addresses (26 Replies)
Discussion started by: llcooljatt
26 Replies

4. Shell Programming and Scripting

Code to make sure Script runs only on sunday -

Hi I have written a script which restarts the application , I want to add a piece of code in my script , to make sure this gets executed only on sunday . So that even if someone runs it on any other day by mistake it should exit throwing an error message . Can someone please assist what will... (6 Replies)
Discussion started by: honey26
6 Replies

5. Shell Programming and Scripting

Script fails to run properly when run from CRONTAB

Hello all, I'm trying to write a script to gather and send data and it works just fine at the bash command line, but when executing from CRON, it does not run properly. My scripting skills are pretty limited and there's probably a better way, but as I said it works at the command line, but... (12 Replies)
Discussion started by: rusman
12 Replies

6. UNIX for Dummies Questions & Answers

Script should check and run only on Sunday

Hi All, I have a script, I want to make sure the script should check whether the day is sunday, only then it should run, if it is run other days it should check and exit the script. Kindly help. Thanks in Advance !! (41 Replies)
Discussion started by: nanz143
41 Replies

7. Shell Programming and Scripting

Trigger the script if it is first sunday of the quarterly month

Hello All, I have script which needs to be scheduled in crontab which needs to be run only on the first sunday of the quarterly months (March, June, September,Dec). Can anyone please help me out on this. Thanks, Arun. (13 Replies)
Discussion started by: Arun1992
13 Replies

8. Shell Programming and Scripting

Run script on every last sunday of the month

Hi ALL, I have been testing this script to run for every last Sunday of the month,looks like month which have 5 sunday (july 2016 )is not passing this and failing every time. Here is what I am using, current_date=31 echo " CURRENT DAY -> $current_date" if ... (2 Replies)
Discussion started by: netdbaind
2 Replies

9. Shell Programming and Scripting

Shell script run in a case statement call to run a php file, also Perl

Linux System having all Perl, Python, PHP (and Ruby) installed From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file eg eg a Shell script run in a case statement call to run a php file, also Perl or/and Python file??? Like #!/usr/bin/bash .... .... case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
SoAlarmSensor(3)						       Coin							  SoAlarmSensor(3)

NAME
SoAlarmSensor - The SoAlarmSensor class is a sensor which will trigger once at a specified time. SoAlarmSensor provides a convenient way of setting up triggers for jobs which should be executed only once when they are scheduled. SYNOPSIS
#include <Inventor/sensors/SoAlarmSensor.h> Inherits SoTimerQueueSensor. Public Member Functions SoAlarmSensor (void) SoAlarmSensor (SoSensorCB *func, void *data) virtual ~SoAlarmSensor (void) void setTime (const SbTime &abstime) void setTimeFromNow (const SbTime &reltime) const SbTime & getTime (void) const virtual void schedule (void) Additional Inherited Members Detailed Description The SoAlarmSensor class is a sensor which will trigger once at a specified time. SoAlarmSensor provides a convenient way of setting up triggers for jobs which should be executed only once when they are scheduled. Constructor &; Destructor Documentation SoAlarmSensor::SoAlarmSensor (void) Default constructor. SoAlarmSensor::SoAlarmSensor (SoSensorCB *func, void *data) Constructor taking as parameters the sensor callback function and the userdata which will be passed the callback. See also: setFunction(), setData() SoAlarmSensor::~SoAlarmSensor (void) [virtual] Destructor. Member Function Documentation void SoAlarmSensor::setTime (const SbTime &abstime) Set the time at which the sensor will trigger. Note that you must manually schedule() the sensor after calling this method. See also: setTimeFromNow(), getTime() void SoAlarmSensor::setTimeFromNow (const SbTime &reltime) Set the alarm to be at a specified offset from the current time. Note that you must manually schedule() the sensor after calling this method. See also: setTime(), getTime() const SbTime & SoAlarmSensor::getTime (void) const Returns the trigger time for the alarm as an absolute value from 1970-01-01 00:00:00. See also: setTime(), setTimeFromNow() void SoAlarmSensor::schedule (void) [virtual] Put the sensor in the global timer queue. See also: unschedule(), isScheduled() Reimplemented from SoTimerQueueSensor. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoAlarmSensor(3)
All times are GMT -4. The time now is 03:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy