Trying to run a simple php script on MediaTemple server using a Cron job -


disclaimer: have little experience of this.

my script looks this:

<?php file_put_contents('test_php.txt', 'hmm'); 

and command in cron job looks this

php php_test.php 

nothing getting written root directory. i've used cron databases using mysqldump, i'm familiar how set cron job. i'm having trouble running php script way.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -