svn: /web/doc-editor/trunk/scripts/cron/ check_entities.php update_data.php

From: Date: Wed, 07 Apr 2010 22:18:51 +0000
Subject: svn: /web/doc-editor/trunk/scripts/cron/ check_entities.php update_data.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1743@lists.php.net to get a copy of this message
yannick Wed, 07 Apr 2010 22:18:51 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=297654 Log: Use /usr/bin/env php to find php binary automaticaly Changed paths: U web/doc-editor/trunk/scripts/cron/check_entities.php U web/doc-editor/trunk/scripts/cron/update_data.php Modified: web/doc-editor/trunk/scripts/cron/check_entities.php =================================================================== --- web/doc-editor/trunk/scripts/cron/check_entities.php 2010-04-07 22:18:44 UTC (rev 297653) +++ web/doc-editor/trunk/scripts/cron/check_entities.php 2010-04-07 22:18:51 UTC (rev 297654) @@ -1,3 +1,4 @@ +#!/usr/bin/env php <?php /*** @@ -4,7 +5,7 @@ * This script is intended to be placed in a cronjob. * It must be run every Thursday, at 01hOO for example. * On Unix, you can use crontab -e and place this : -* 00 01 * * 4 /usr/bin/php /path/to/your/vcs/dir/doc-editor/scripts/cron/check_entities.php +* 00 01 * * 4 /path/to/your/vcs/dir/doc-editor/scripts/cron/check_entities.php ****/ require_once dirname(__FILE__) . '/../../php/Conf.php'; Modified: web/doc-editor/trunk/scripts/cron/update_data.php =================================================================== --- web/doc-editor/trunk/scripts/cron/update_data.php 2010-04-07 22:18:44 UTC (rev 297653) +++ web/doc-editor/trunk/scripts/cron/update_data.php 2010-04-07 22:18:51 UTC (rev 297654) @@ -1,3 +1,4 @@ +#!/usr/bin/env php <?php /*** @@ -4,7 +5,7 @@ * This script is intended to be placed in a cronjob. * It must be run every day, at 00hOO for example. * On Unix, you can use crontab -e and place this : -* 00 00 * * * /usr/bin/php /path/to/your/vcs/dir/doc-editor/scripts/cron/update_data.php +* 00 00 * * * /path/to/your/vcs/dir/doc-editor/scripts/cron/update_data.php ****/ require_once dirname(__FILE__) . '/../../php/Conf.php';

« previous php.doc.web (#1743) next »