bubba_nuts Posted April 17, 2003 Share Posted April 17, 2003 I was wondering if someone could help me with a simple CronTab. Unfortunatly, I've never used them before, and I have no idea of the commands or syntax. I want to copy two files (let's call them "file1.html" and "file2.html") from the folder "private" (which I created on the root level) to "www/destinationfolder", replacing the two existing files. The CronTab scheduler seems easy enough to figure out, so I should be fine with that. Thanks! Quote Link to comment Share on other sites More sharing options...
bubba_nuts Posted April 17, 2003 Author Share Posted April 17, 2003 I think I've figured out the syntax... >cp -f private/file1.html www/destinationfolder/file1.html cp -f private/file2.html www/destinationfolder/file2.html Do I need to make a Crontab for each command, or can I lump them together somehow? What timezone are the servers set to? (So I can adjust the run-time accordingly.) Quote Link to comment Share on other sites More sharing options...
chuckmalani Posted April 18, 2003 Share Posted April 18, 2003 type "date" on the command line and it will tell you the current time on the server. chuck Quote Link to comment Share on other sites More sharing options...
bubba_nuts Posted April 18, 2003 Author Share Posted April 18, 2003 I don't have SSH access. I ended up just submitting a help desk ticket. The tech told me that the servers are on Eastern Daylight Time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.