note 46273 added to function.system
| From: | sriviggu2002 at yahoo dot com | Date: | Tue, 05 Oct 2004 11:21:46 +0000 |
| Subject: | note 46273 added to function.system | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-78018@lists.php.net to get a copy of this message | ||
Hi guys
<?php
echo system("crontab -l");
echo shell_exec("crontab -l");
echo exec("crontab -l");
?>
These three command is not executing these linux command. can any one Help me to rectify this.
or
How can i create a cron job on linux machine using php.
Thankz in advance
S.Srivignesh
----
Manual Page -- http://www.php.net/manual/en/function.system.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46273
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46273&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46273&report=yes
Search -- http://master.php.net/manage/user-notes.php