Solved

Schedule a WGET to run once

Posted on 2000-03-31
4
676 Views
Last Modified: 2012-06-21
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
Comment
Question by:kittlej
  • 2
  • 2
4 Comments
 
LVL 4

Expert Comment

by:kiffney
ID: 2673348
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
 
LVL 1

Author Comment

by:kittlej
ID: 2673377
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
 
LVL 4

Accepted Solution

by:
kiffney earned 10 total points
ID: 2673386
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
 
LVL 1

Author Comment

by:kittlej
ID: 2673419
You da man. Thanks for the help
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now