Scedueled Tasks On Windows Server

Status
Not open for further replies.

Byron

New Member
Hi All,

After all the fun of working out CronJobs on linux a client of mine is changing over to using a Windows VPS. Basically I need a solution which unzips a ZIP file to a directory at 00:10 on the 1st day or the month (for website changes) when I am not around.

Has anyone got any ideas, I had previously used a php script, attached if anyone ever needs it.


<?php
require_once('pclzip.lib.php');
$archive = new PclZip('siteupdate.zip');
if (($v_result_list = $archive->extract(PCLZIP_OPT_PATH, '../')) == 0) {
die("Error : ".$archive->errorInfo(true));
}
echo "<pre>";
var_dump($v_result_list);
echo "</pre>";
?>

Does anyone know how to replicate a similar script which will work on a Windows server at a specific time and date without any issues?
 

Byron

New Member
Hey everybody,

Anybody have any ideas?
 
Status
Not open for further replies.
Top