|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
cron to change owner of file
recently I emailed my webhost, contacting them about CHMOD'ing a .php file to 777. the method i was using the CHMOD was the php function chmod(); which did not work
the server provider then contacted me saying that i had to run a cron that changes the owner of the .php files every so often. i have a few questions 1. what is a cron (because i feel as a web designer, even though this is a one-project problem, it is better to gain more and more information) 2. what would that be, keep in mind that i do not have shell access and that i have to implement them through cPanel's cron interface 3. what would i have to change the owner to? the login to my server is "octopi" however, would there be a unix preset name? |
|
#2
|
|||
|
|||
|
|
#3
|
|||
|
|||
|
ok, so what would the cron be? i'm a little confused. on my interface i'm running, there are drop-down boxes that handle all the times and such, but there is a line for a unix command to run. if you wrote a script cron.sh, what would you do to execute it?
|
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > cron to change owner of file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|