Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Schedule a WGET to run once

Posted on 2000-03-31
4
Medium Priority
?
686 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 30 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

618 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