Questions tagged [crontrigger]

Use ConTrigger if you need a job-firing schedule that recurs based on calendar-like notions

ConTrigger class from Quartz Job Scheduling Library allowing you to create

"job-firing schedule that recurs based on calendar-like notions, rather than on the exactly specified intervals of SimpleTrigger."

To find more information :

206 questions
0
votes
1 answer

What will the service name of crontab in a Linux machine?

I have a crontab in the same name crontab. Need to check whether its running currently or not. Its placed in /etc/crontab in a Linux machine. I guess its service name is crond. So I tried grep crond. If its wrong please confirm me? How can I check…
Gnik
  • 7,120
  • 20
  • 79
  • 129
0
votes
1 answer

quartz scheduler run 2 times every day

i've a java application that runs on UNIX OS two times at a day every time it generates reports and send the generated files to the configured mail. the problem is that the reports generated successfully at the first run for the 2 reports but the…
Mahmoud Ismail
  • 187
  • 1
  • 3
  • 12
0
votes
1 answer

Configure Waiting Time Between Crone Job Scheduling

I want to make a crone expression so that scheduler run a job then after its execution is complete it wait for 2 minutes and then run next job and so on. I am using quartz 2.2.1. Thanks
Rizstien
  • 802
  • 1
  • 8
  • 23
0
votes
2 answers

Run a php file contain javascript from cron job

I tried many online methods people have suggested and still not reached a solution i need to run a php file that contain javascript from cronjob For now, I can not do it through PHP If anyone has an idea I'd love to read
Swissa Yaakov
  • 186
  • 3
  • 15
0
votes
1 answer

How to call a CronTriggerBean stored in a JDBCJobStore?

I need some help. I am using Quartz Scheduling and have configured a CronTrigger to run each night at 10PM. I am using the JDBCJobStore to take advantage of the Clustering. The job runs at 10PM every night but I want to be able to call the job…
user198509
  • 81
  • 2
  • 5
0
votes
1 answer

Quartz scheduler getting error on server start

i am using quartz scheduling in web application on my class SchedulerJob i am fetching data fro DB and setting some fields based on some condition but i am getting the following error org.quartz.SchedulerException: JobStore class…
curious
  • 915
  • 4
  • 14
  • 27
0
votes
1 answer

The best way to scheduler a process on the first day every 2 months even the server was down

I have a simple task: I need to run a process on the first day every 2 months even the server was down If the server will not down – the task is very easy: ThreadPoolTaskScheduler scheduler = new ThreadPoolTaskScheduler(); CronTrigger trigger = new…
Michael
  • 10,063
  • 18
  • 65
  • 104
0
votes
1 answer

nextFireTime and start time aren't aligned

I'm trying to create a quartz job that runs daily at 10:00 AM, but first start at 9:30 AM. I'm doing it using start time and cron expression as follows: CronTrigger newTrigger = newTrigger().withIdentity(jobName + i, jobName) …
axelrod
  • 3,782
  • 1
  • 20
  • 25
0
votes
0 answers

How to make Quartz scheduler to execute jobs asynchronously(parallelly)?

I have 56 jobs scheduled as cronTrigger, all at an exact same time. I expect these jobs all start executing together, without having any sequence. like each one executing in it's own Thread. however quartz scheduler executes them one by one. I did…
mostafa.S
  • 1,452
  • 4
  • 16
  • 27
0
votes
1 answer

Setting a cron job for python script

I want to run the following command for cron job python test.py -sau 0 -bg 200000 -t mcs3245 > g2g.log I have setup a cron job like below 5 0 * * * /local/mnt/workspace/username/scripts/python test.py -sau 0 -bg 200000 -t mcs3245 > g2g.log am…
user1927396
  • 449
  • 1
  • 9
  • 21
0
votes
1 answer

Crob job excluding some hours

Currently I'm having two cronjobs as following, 0 */6 * * * root job1 0 */2 * * * root job2 I need to avoid running the job2 when job1 is running. Is there a way to exclude the time (00 00 , 06 00 , etc . . ) from the job2 cron. Thanks.
Chamith Malinda
  • 4,399
  • 5
  • 24
  • 28
0
votes
1 answer

How to use cron misfire-instruction FireOnceNow with AdoJobStore in Quartz.NET 2.0?

I am using a cron trigger with misfire-instruction set to FireOnceNow in quartz.net-2.0 set up with AdoJobStore and using XMLSchedulingDataProcessorPlugin. cron-expression is set so the job will trigger every 1 minute: 0 0/1 * * * ?. The job…
0
votes
1 answer

cron expression with spring quartz

How to write cron expressions for below? first working day of each month at 00:00:00 4th working day of each month at 06:00:00 00:00:00 on saturday Based on above cron expression, how to get start date and end date? first day of prior month and…
user1726550
  • 83
  • 1
  • 4
  • 14
0
votes
1 answer

I don't understand getNextIncludedTime() in Quartz

I'm probably just being an idiot - it's been a long day! I've misunderstood something in my first foray into Quartz... Given this code: DateTime dt = new DateTime(); dt = dt.withDayOfMonth(20); Calendar cal = new CronCalendar("0 0/10 * * * ?"…
brabster
  • 42,504
  • 27
  • 146
  • 186
0
votes
1 answer

mysql trigger after insert trigger update value

I want to update list status which is in list table according to task status which is in task table, both the table have listid as common field if all taskid task status is 1 then change the list status to 1 if all taskid taskstatus is not 1 then…
1 2 3
13
14