0

I create a job to clean the database every day at 01:00.

According to statistic run OK from 3 months. But today i realize the database size was very big so i check the jobs and hasn't run for one month.

Properties say last run was '10/27/2014' and statistics confirm run successful.
Also say next run will be '10/28/2014' but looks like never run and stay frozen since then.
(I'm using dd/mm/yyyy format)

So why stop running?
There is a way to restart the job or should i go and delete and recreate the job?
How can i know a job didn't run?
I guess i can write a code if job isn't successful but what about if never execute?

enter image description here

Windows Server 2008
PostgreSQL 9.3.2, compiled by Visual C++ build 1600, 64-bit

4

1 回答 1

0

问题是 pgAgent 服务没有运行。

当我重新启动 Postgres 服务时:

Postgres service stop
pgAgent stop 因为是依赖服务
Postgres service start
但 pgAgent 没有

在这里你可以看到 pgAgent 没有启动。 在此处输入图像描述

于 2014-11-25T15:05:33.160 回答