Marius Burkard
2016-07-08 9bcd2fd54728b9e634442f584268da03acaea633
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>ISPCOnfig 3 remote API documentation</title>
 
  
 
  
  
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <link rel="stylesheet" type="text/css" href="definitionen.css">
  <style type="text/css">
  </style></head>
 
<body>
<div style="padding:40px">
<h1>sites_cron_add(<span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span>);</h1>
<br>
<p class="headgrp">Description: </p>
<p class="margin"> Adds a new cronjob.</p><br>
<p class="headgrp">Input Variables: </p> 
<p class="margin"> <span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$params</span></p>
<p class="headgrp">Parameters (in <span class="var">$params</span>): </p>
<p class="margin"> server_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> parent_domain_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> type&nbsp;&nbsp;(<span class="paratype">enum('url','chrooted','full')</span>)</p>
<p class="margin"> command&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> run_min&nbsp;&nbsp;(<span class="paratype">varchar(100)</span>)</p>
<p class="margin"> run_hour&nbsp;&nbsp;(<span class="paratype">varchar(100)</span>)</p>
<p class="margin"> run_mday&nbsp;&nbsp;(<span class="paratype">varchar(100)</span>)</p>
<p class="margin"> run_month&nbsp;&nbsp;(<span class="paratype">varchar(100)</span>)</p>
<p class="margin"> run_wday&nbsp;&nbsp;(<span class="paratype">varchar(100)</span>)</p>
<p class="margin"> active&nbsp;&nbsp;(<span class="paratype">enum('n','y')</span>)</p>
<p class="headgrp">Output: </p> 
<p class="margin"> Returns the ID of the newly added cronjob.</p>
<!--<b>Output:</b> 
<p style="margin-left:100px">Gives a record of </p> -->
</div>
 
</body></html>