Cmaso
Cmaso

Reputation: 1113

Scheduled Tasks stopped running

Not sure what caused this, but all of a sudden the scheduled tasks have stopped firing on our server, and read as "not run". We are running ColdFusion 10. To test, I created a simple scheduled task, a CFM file that sends an email to me, but it won't run at the scheduled time, and won't run even if I click the manual run button in the ColdFusion Admin. If I just type the page's URL in my browser however, it runs fine and I get the email.

I haven't seen anything indicating a problem in the exception or application logs. We're not running on clustered, nor on SSL. I thought the task might not be running because it was saved with a username/pw (unneeded, but the browser populates those fields by default when creating/editing the task), but I cleared those, resaved the task, and it still won't run.

Upvotes: 2

Views: 1496

Answers (2)

SquareWheels
SquareWheels

Reputation: 11

I know this is 4+ years old, but I just had the same issue. Years of faithful Scheduled Tasks, then we got errors last night to a task not clearing. Looked and saw the Scheduled Tasks didn't run. Restarted CF, all is well.

Upvotes: 0

Cmaso
Cmaso

Reputation: 1113

Looks like something was holding up the Quartz engine; I restarted CF and the test fired off and continued firing off at the interval I set. All settings in the quartz.properties file look good. I'd prefer to know why it was getting held up, but I'll settle for it working now as expected. From what I've read, the Quartz engine seems to be a complicated and touchy piece of software.

Upvotes: 3

Related Questions