You are here

acsf_sj.module in Acquia Cloud Site Factory Connector 8.2

Same filename and directory in other branches
  1. 8 acsf_sj/acsf_sj.module

Provides an integration with the Scheduled Jobs service.

File

acsf_sj/acsf_sj.module
View source
<?php

/**
 * @file
 * Provides an integration with the Scheduled Jobs service.
 */

/**
 * Returns the path to the sjadd binary.
 *
 * @return string|null
 *   Returns sjadd path if $HOME exists, NULL otherwise.
 */
function acsf_sj_get_sjadd_path() {
  return isset($_ENV['HOME']) ? $_ENV['HOME'] . '/acquia_sj/sjadd' : NULL;
}

Functions

Namesort descending Description
acsf_sj_get_sjadd_path Returns the path to the sjadd binary.