14, February 2012

make cron perform a chmod? - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server
Topic: make cron perform a chmod?
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: make cron perform a chmod?  (Read 1315 times)
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 886
1148 credits
Members referred : 4



« on: Apr 23, 2007, 04:22:06 am »

im not too familiar with cron jobs, as i only use them to run single files .. but is there anyway to make cron jobs cmod certain files and/or directories?

edit-- this would be into my control panel, like hSphere or cPanel
« Last Edit: Apr 23, 2007, 04:31:07 am by Meth0d »


Last blog : phpHaze 1.59.1 in Development
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Apr 23, 2007, 08:52:58 am »

I think you need to tell some script waht you want to do.

one option is to run all scripts inside a directory while using php (and this one script is executed by cron


Last blog : A new Wordpress theme for our blog
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5779
46271 credits
Members referred : 3



« Reply #2 on: Apr 23, 2007, 09:25:44 am »

You can use cron to chmod a file, but the cron user must have rights to do this.

And please don't ask me how I am so sure about this, because last time I got hacked this was exactly what the hackers did Smiley

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
aka J Love
Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 886
1148 credits
Members referred : 4



« Reply #3 on: Apr 23, 2007, 05:48:19 pm »

i assume with a shared hosting account, you wont have access to chmod files with cron Sad


Last blog : phpHaze 1.59.1 in Development
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6433
Tags : cron job chmod hsphere Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server
Topic: make cron perform a chmod?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Feb 14, 2012, 06:09:15 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.