LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-12-2010, 03:48 AM   #1
ankured182
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Rep: Reputation: 0
Question 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

Last edited by ankured182; 07-12-2010 at 03:51 AM. Reason: mentioned the problem clearly
 
Old 07-13-2010, 01:08 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
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

Last edited by chrism01; 07-13-2010 at 01:09 AM.
 
  


Reply

Tags
cron, curl, job, lamp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set a cronjob to reboot a server every 3 days, to fix any problems abefroman Linux - Server 5 06-01-2010 01:39 PM
How to set up a cronjob as a normal user ? gauthamk Linux - Software 1 09-06-2008 10:01 AM
Help needed to set up LAMP harrybazeegar Linux - Server 8 05-12-2008 02:33 AM
lamp set up shankarLe Linux - Server 9 06-30-2007 12:48 AM
set cronjob environment donhare Linux - Software 0 01-31-2005 06:51 AM


All times are GMT -5. The time now is 02:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration