• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 690
  • Last Modified:

Schedule a WGET to run once

I've got a file sitting on a remote server that I need to download on a slow line.  I want to use WGET to do this. I'm familiar w/ WGET and know how to use it.  I want the download to start at 4:30 when everyone goes home for the day, and the download should be finished by monday morning.  I'm familiar w/ using a crontab to schedule a job to happen every-so-often, but how can I schedule this download process to just take place once.  Maybe should I stick my wget command in a shell script and call the script? How do I do this so that it starts @ 4:30?
0
kittlej
Asked:
kittlej
  • 2
  • 2
1 Solution
 
kiffneyCommented:
Try

at 4:30am Apr 1
/usr/bin/wget ftp://blah.com/myhugefile

You have to hit enter after the date. Put in the date you like.  After the wget command, hit control-D.
0
 
kittlejAuthor Commented:
well I fouled the first one up - how Can I look to see what ones are scheduled? Is this going to be executed as the user I'm logged in as, or who?
0
 
kiffneyCommented:
atq will tell you what's scheduled.

atrm takes them out.

The job runs as the user who submitted the job.  ('man at' will tell you all that faster than I can!)
0
 
kittlejAuthor Commented:
You da man. Thanks for the help
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now