Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-22-2004, 07:46 AM   #1
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?
Old 01-22-2004, 11:24 AM   #2
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.

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

Rep: Reputation: 30

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.

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.


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

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

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration