Solved

Schedule a WGET to run once

Posted on 2000-03-31
4
680 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will giveā€¦
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.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

728 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