anchor.diff:  handle_sync_event(_Event, _From, StateName, Job) ->
       {reply, ok, StateName, Job}.
   
  -handle_info(execute, executing, Job) ->
  -    error_logger:info_msg("JOB STATUS EXECUTING~n"),
  -    {next_state, executing, save_job_status(executing, Job)};
  -handle_info(executing, new, Job) ->
  -    error_logger:info_msg("JOB STATUS EXECUTING~n"),
  -    {next_state, executing, save_job_status(executing, Job)};
   handle_info(error, executing, Job) ->
       error_logger:info_msg("JOB STATUS ERROR~n"),
       {next_state, error, save_job_status(error, Job)};
  
positive.code: -export([start_link/1]).
  
  -export([load_from_db/2,
           register_process/2,
           execute/1]).
  
  %% Event handlers
  
  -define(NO_JOB, {error, no_job_tracker}).
  -define(JOB_EVENT(Event), Event(JobId) -> case catch gproc:send({n,l,JobId}, Event) of
                                                {'EXIT', _} -> ?NO_JOB;
                                                _ -> ok
                                            end).
  
  -include_lib("pushy_sql.hrl").
  
  
negative.code:          handle_info/3,
           terminate/3,
           code_change/4]).
  
  %% ------------------------------------------------------------------
  %% API Function Definitions
  