Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to create a script for putty

    I would basically like to create a script which would automatically run "df -k" in putty.
    I would like this to run automatically at certain times of the day.
    How can I do this please?
    Once it is run, I would like the output to be sent via email.
    Sorry if this isn't the right page that I am posting in but i am new at this!

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Hello and Welcome!

    What you're looking for is a cron job.
    Take a look here for a quick reference: Crontab – Quick Reference

    Here's one that's a little more detailed: Newbie: Intro to cron

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts