News
: October 6, 2008 -
Submit Your Site for the October 2008 Site of the Month!
Home
Help
Search
Calendar
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
October 13, 2008, 05:28:47 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Web Hosting Forum | Lunarpages
>
Lunarpages Web Hosting - Online Help Desk
>
Lunarpages - Beginner Assistance
>
CRON move and chmod assitance
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: CRON move and chmod assitance (Read 112 times)
minionsweb
Newbie
Offline
Posts: 5
CRON move and chmod assitance
«
on:
June 04, 2008, 01:31:12 PM »
Let you guess I am new to cron.
First, I am attempting to move all files from an upload directory to a download directory:
*/5 * * * * mv /public_html/FTPz/wavz_upload/*.* /public_html/FTPz/wavz_download/-=Wavs & AUs extracted=-/New unsorted/
Then change the permissions of the moved dirs and files recursively:
*/5 * * * * chmod -R 544 /public_html/FTPz/wavz_download/-=Wavs & AUs extracted=-/New unsorted/
I see nothing occuring, and see no errors in the log.
Am I specifying this correctly?
How can I see a log of the activity?
I presume there is some verbose commend I can use, right?
Help would be greatly appreciated.
Logged
MrPhil
Quantum Encyclopedia Writer
Offline
Posts: 3400
Re: CRON move and chmod assitance
«
Reply #1 on:
June 04, 2008, 03:37:45 PM »
Your full directory path is
/home/ACCOUNTNAME/public_html/...
. There's no such thing as
/public_html/
. You
may
be able to get away with just
public_html/...
, assuming you're starting in
/home/ACCOUNTNAME/
(that seems to be the usual case, but I can't guarantee it).
Second, this is Linux. Do not use spaces (blanks) or any verboten characters in directory names and file names. A-Z, a-z, _, 0-9, and . should all be safe. Maybe -, probably not =. Also, don't forget to create these directories before trying to move stuff into them.
Logged
Visit My Site
E-mail Me
minionsweb
Newbie
Offline
Posts: 5
Re: CRON move and chmod assitance
«
Reply #2 on:
June 06, 2008, 09:01:27 AM »
Got it, thanks for the assist.
Took a bit of tweaking but it is performing as needed now.
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Lunarpages Web Hosting - Information & Opportunities
-----------------------------
=> Lunarpages Web Hosting - Announcements
=> Lunarpages Web Hosting - Hosting Plans & Site Information
=> Job Opportunities at Lunarpages Web Hosting
=> Lunarpages Web Hosting - Network Information
=> Lunarpages Web Hosting - Server Information
-----------------------------
Lunarpages Web Hosting - Before Signing Up
-----------------------------
=> Lunarpages Web Hosting Plans - Pre-Sales Questions
-----------------------------
Lunarpages Web Hosting - Online Help Desk
-----------------------------
=> Lunarpages - Webhosting Help
=> Lunarpages - Beginner Assistance
=> Lunarpages - How to's
=> E-mail with your Lunarpages Hosting Plan
=> Lunarpages - CPanel Help
=> Lunarpages - LPCP Beta
=> Lunarpages - Ecommerce Hosting
=> Lunarpages - FrontPage
=> Lunarpages - DreamWeaver
=> Lunarpages - Message Boards-Forums-Fantastico Scripts
===> Lunarpages - Joomla / Mambo
-----------------------------
Lunarpages Web Hosting - Advanced Assistance
-----------------------------
=> Web Management
=> Lunarpages - Webdesign and HTML
=> Lunarpages - Search Engine Optimization
=> Lunarpages - Animation & Flash
=> Lunarpages - Graphics
=> Lunarpages - Web Hosting, Email & PC Security
=> Lunarpages - Dedicated Web Hosting
===> Lunarpages - cPanel & WHM
===> Lunarpages - General
===> Lunarpages - Plesk
===> Lunarpages - Security
===> Lunarpages - Tutorials
===> Lunarpages - Webmin
=> Lunarpages - Reseller Web Hosting
===> Lunarpages - WHM
=> Lunarpages - VPS Hosting
=> Lunarpages - SharePoint Services (Beta)
-----------------------------
Lunarpages Web Hosting - Coding
-----------------------------
=> Lunarpages - ASP
=> Lunarpages - C++ / PERL / CGI
=> Lunarpages - PHP & MySQL
=> Lunarpages - Java Applets & Javascript
=> Lunarpages - JSP & Servlets
=> Lunarpages - Ruby Hosting
=> Lunarpages - Windows Development & Hosting
-----------------------------
Lunarpages Web Hosting - Entertainment
-----------------------------
=> Lunarpages - Chat & Stuff!
=> Lunarpages - Contests
=> Fun at Lunarpages!!
=> Lunarpages - Online Gaming
-----------------------------
Lunarpages Web Hosting - General
-----------------------------
=> Social Networking
=> Lunarpages Free Web Hosting - Education Program
=> Lunarpages - Affiliate Program
=> Introduce Yourself to the Lunarpages Forum Community!
=> Your Websites & Creations at Lunarpages!
=> Lunarpages Website of the Month
=> Lunarpages - Service and Trade
Loading...