日期:2014-05-16  浏览次数:20375 次

立即运行pgagent中的作业

UPDATE pgagent.pga_job SET jobnextrun = now() WHERE jobid=“作业的记录ID”

作业运行后会自动重新设置jobnextrun

参考

http://git.postgresql.org/gitweb/?p=pgadmin3.git;a=blob;f=pgadmin/agent/pgaJob.cpp;h=b4bf071992e1bdf26198e4f761c4ac8024032f62;hb=HEAD

bool pgaJob::RunNow()函数

http://forums.enterprisedb.com/posts/list/3795.page