LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LAMP set up in Ubuntu10.04-rev189 and CRONJOB (http://www.linuxquestions.org/questions/linux-newbie-8/lamp-set-up-in-ubuntu10-04-rev189-and-cronjob-819353/)

ankured182 07-12-2010 04:48 AM

LAMP set up in Ubuntu10.04-rev189 and CRONJOB
 
I am a PHP developer.I have always used XAAMP(in Windows7) for development purpose. I am driven to turn to Linux now . I have installed Ubuntu10.04-rev189(Wubi) in Windows7 recently. I have a PHP script which require the following tasks to be performed.

1. Give permissions “777” to the following files and folders:
_cache
media
images
/configs.php
images/config_photo_preview.jpg

2. Set up cron jobs on your site like this:
/usr/local/bin/php –q /your-site-root-dir/cron/index.php

I need to get an environment like XAAMP and perform the above mentioned tasks. Pls suggest me a solution. Thanks and regards

chrism01 07-13-2010 02:08 AM

What have you tried so far?
Here's a good explanation of cron: http://www.adminschoice.com/docs/cro...Crontab%20file
For permissions, check the man pages for 'chmod' http://linux.die.net/man/1/chmod


All times are GMT -5. The time now is 06:57 AM.