Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In GEODI 5.1 and above versions, an automatic notification can be provided when a searched phrase is encountered.

...

DescriptionIt sends e-mails when the conditions to be determined are met.
Request


Code Block
languagejs
{
 "__type": "Factory.ActionFactory:TimedRunCommand",
 "FileName": "",
 "Arguments": "",
 "UseShellExecute": true/false,
 "CreateNoWindow": true/false,
 "WorkingDirectory":"",
 "UserName":"",
 "Password":"",
 "Timeout":0;
  "Timed": {
	"Period": { "PeriodType": "Month", "Value": 3 }
	"Offset": { "Days": 20, "Hours":10 , Minutes:0 } 
  }
}


Definition Values
  • It is equivalent to the features in the ProcessStartInfo link. Definitions other than FileName are optional.
  • Timed: It is used to determine the start time and repeat period.
Example


Code Block
languagejs
{
  "__type": "Factory.ActionFactory:TimedRunCommand",
  "FileName":"%SystemX86%\\cmd.exe ping 127.0.0.1 -r 9",
    "Timed": {
	"Period": { "PeriodType": "Day", "Value": 1 }
	"Offset": { "Hours":10 , Minutes:0 } 
  }
}


Time Definition Examples

The ScheduleSettings object is used in the Timed definition.

  • "Period" is the beginning of the repetition period.
    • When the PeriodType "Day" is set to Value 2, the trigger time is set to 0:00 every night for 2 days.
    • When the PeriodType "Week" is set to Value 1, the trigger time is set to 0:00 Every Sunday.
    • When the PeriodType "Hour" is set to Value 1, the trigger time is set every hour (0 minutes).
  • "Offset" is used to change the trigger time.
    • If 1 is set in Period.PeriodType "Day" and Offset.Hours value, the trigger time is delayed to 01:00 instead of 00:00 at night.
    • If period.PeriodType "Hour" and Offset.Minute value is set to 15, the trigger time will be delayed by 15 minutes every hour.
  • Does not run before the date to "Start". If left empty, no limit will be given.
  • Does not run after the date to "End". If left empty, no limit will be given

Everyday at 10:20


Code Block
languagejs
Timed: {
	Period: { PeriodType: "Day" },
	Offset: { Hours:10, Minutes:20 } 
}


Every Friday at 17:00


Code Block
languagejs
Timed: {
	Period: { PeriodType: "Week" },
	Offset: { Days:6 , Hours:17, Minutes:0 } 
}


Second calendar day of each month, 15:00


Code Block
languagejs
Timed: {
	Period: { PeriodType: "Month" },
	Offset: { Days:2 , Hours:15, Minutes:0 } 
}


Fourth business day of the month 09:00


Code Block
languagejs
Timed: {
	Period: { PeriodType: "Month" },
	Offset: { Days:4 , Hours:9, Minutes:0 },
	DayCounting:"WorkDays"
}


The third quarter of every year


Code Block
languagejs
Timed: {
	Period: { PeriodType: "Quarter", Value:3 }
}


The first working day of every January 09:00


Code Block
languagejs
Timed: {
	Period: { PeriodType: "Year" },
	Offset: { Hours:9, Minutes:0 },
	DayCounting:"WorkDays"
}


15:00 on the first Tuesday of every month 


Code Block
languagejs
Timed: {
	Period: { PeriodType: "Mounth" },
	Offset: { Days:3, Hours:15, Minutes:0 }
}


The first Tuesday of the month or the first business day after 15:00


Code Block
languagejs
Timed: {
	Period: { PeriodType: "Mounth" },
	Offset: { Days:3, Hours:15, Minutes:0 },
	DayCounting:"WorkDays"
}


Every hour between 2 dates


Code Block
languagejs
Timed: {
	Start:"2019-12-02",
	End:"2019-12-10",
	Period: { PeriodType: "Hour" }
}

Every 15 minutes for 2 hours every day

Code Block
languagejs
Timed: {
	Start:"18:00",
	End:"24:00",
	Period: { PeriodType: "Minute", Value:15 }
}