LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 01-22-2004, 06:46 AM   #1
Dakkar
Member
 
Registered: Dec 2003
Location: Turkey
Distribution: Suse
Posts: 89

Rep: Reputation: 15
How to use crontab ?


I have a file named sphereacct.scp in my website which hosted on a linux machine.And i want to send this file every hour to windows machine by ftp after sending the file i want to delete this sphereacct.scp from my site and create and empty sphereacct.scp
is this possible?
if it is how can i do it which commands i have to use?
If you know something about that can you explain me but please start with how to open a crontab script and make it work?
Thanks
 
Old 01-22-2004, 10:24 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
The manpage for crontab is very straightforward.

man crontab

You should also make sure you know how to use vi. There are various web-based tutorials out there.

I'm not sure about the rest of your questions, sorry.

John
 
Old 01-22-2004, 10:49 AM   #3
Hal
Member
 
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151

Rep: Reputation: 30
http://linux-newbie.sunsite.dk/lnag_basics.html#cron

I think it is an ok intro to cron.

As for sending things, you would probably need to Google how to set up a shell script.

http://www.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html

I hope that will be of a little help. I posted a question about cron a while back, and I didn't get much feedback, I would have liked anything however small.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
crontab x2??? killahsmurf Slackware 2 05-24-2005 10:53 PM
Crontab wormraper Debian 4 05-15-2005 01:01 AM
using crontab goodolday Linux - Newbie 1 04-26-2005 07:16 PM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 12:35 PM
HELP!! crontab karleong Linux - General 9 07-12-2003 10:54 AM


All times are GMT -5. The time now is 04:13 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