Facebook X (Twitter) Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook X (Twitter) Instagram
    TecAdmin
    You are at:Home»Linux Tutorials»Running a Cron Job at 2:00 AM Daily

    Running a Cron Job at 2:00 AM Daily

    By RahulSeptember 7, 20221 Min Read

    Cron jobs (or cron jobs) are schedules that tell the computer to run a program or execute a command automatically at a specified time. This is called a cron job, a daemon that runs in the background and performs tasks on a schedule. Cron is a process that runs in the background and periodically executes programs or tasks. By design, cron is extremely flexible, allowing users to run tasks as often as once a minute or as infrequently as once every 99 weeks. Cron jobs are a common way to automate daily tasks, like sending out marketing emails, running reports, or backing up files.

    Schedule crontab 2AM Daily
    Schedule a cronjob at 2 AM daily

    You can edit the crontab editor by running the crontab -e command and configure your job to run at 02:00 AM daily. For example, to schedule a backup script schedule cron job as below:

    1
    0   2   *   *   *    /usr/bin/backup.sh

    Once the cron is scheduled, you can list the configured jobs using the crontab -l command. Hoping this tutorial helps you for scheduling the cron job.

    cron cronjobs crontab
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    Understanding the LD_LIBRARY_PATH Environment Variable

    The Beginner’s Guide to Building Your First RPM Package

    The Beginner’s Guide to Building Your First Debian Package

    Add A Comment

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Difference Between Full Virtualization vs Paravirtualization
    • Virtualization vs. Containerization: A Comparative Analysis
    • Using .env Files in Django
    • Using .env File in FastAPI
    • Setting Up Email Notifications for Django Error Reporting
    Facebook X (Twitter) Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.