Schedule a WGET to run once

Posted on 2000-03-31
Medium Priority
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?
Question by:kittlej
  • 2
  • 2

Expert Comment

ID: 2673348

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.

Author Comment

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?

Accepted Solution

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!)

Author Comment

ID: 2673419
You da man. Thanks for the help

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Welcome back to our beginners guide of the popular Unix tool, cron. If you missed part one where we introduced this tool, the link is below. We left off learning how to build a simple script to schedule automatic back ups. Now, we’ll learn how to se…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

597 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