diff --git a/vtigercron.php b/vtigercron.php new file mode 100644 index 0000000..f8505de --- /dev/null +++ b/vtigercron.php @@ -0,0 +1,67 @@ +setBulkMode(true); + + // Not ready to run yet? + if (!$cronTask->isRunnable()) { + echo sprintf("[INFO]: %s - not ready to run as the time to run again is not completed\n", $cronTask->getName()); + continue; +} + + // Timeout could happen if intermediate cron-tasks fails + // and affect the next task. Which need to be handled in this cycle. + if ($cronTask->hadTimedout()) { + echo sprintf("[INFO]: %s - cron task had timedout as it is not completed last time it run- restarting\n", $cronTask->getName()); +} + + // Mark the status - running + $cronTask->markRunning(); + + checkFileAccess($cronTask->getHandlerFile()); + require_once $cronTask->getHandlerFile(); + + // Mark the status - finished + $cronTask->markFinished(); + + } catch (Exception $e) { + echo sprintf("[ERROR]: %s - cron task execution throwed exception.\n", $cronTask->getName()); + echo $e->getMessage(); + echo "\n"; + } +} +} + +else{ + echo("Access denied!"); +} + +?> \ No newline at end of file diff --git a/vtigerservice.php b/vtigerservice.php new file mode 100644 index 0000000..193045e --- /dev/null +++ b/vtigerservice.php @@ -0,0 +1,53 @@ +vtigerCRM Soap Services"; + echo "
  • vtigerCRM Outlook Plugin EndPoint URL -- Click here
  • "; + echo "
  • vtigerCRM Word Plugin EndPoint URL -- Click here
  • "; + echo "
  • vtigerCRM ThunderBird Extenstion EndPoint URL -- Click here
  • "; + echo "
  • vtigerCRM Customer Portal EndPoint URL -- Click here
  • "; + echo "
  • vtigerCRM WebForm EndPoint URL -- Click here
  • "; + echo "
  • vtigerCRM FireFox Extension EndPoint URL -- Click here
  • "; +} + + +?> \ No newline at end of file diff --git a/vtigerversion.php b/vtigerversion.php new file mode 100644 index 0000000..b520150 --- /dev/null +++ b/vtigerversion.php @@ -0,0 +1,15 @@ + \ No newline at end of file