Divi WordPress Theme

Topic: Command to edit cron job on Linux server  (Read 1506 times)

Offline Rick

  • New Member
  • *
  • Posts: 25
  • iTrader: +0/-0
    • View Profile
Command to edit cron job on Linux server
« on: May 01, 2015, 04:47:48 PM »
Hi,

I have cPanel VPS. Previous staff member has set some cron jobs via SSH to take backup of the data on another server (a script to transfer backup via rsync). Now we want to change the time for the cron jobs. Previously cron jobs were set via SSH (root user).

Can someone help me to edit cron jobs via SSH so that I can adjust timing?

Thanks,
Rick
VPS Hosting - AccuWebHosting

Offline Kailash

  • Web Hosting Master
  • *****
  • Administrator
  • Posts: 604
  • iTrader: +153/-0
    • View Profile
Re: Command to edit cron job on Linux server
« Reply #1 on: June 01, 2015, 06:53:37 PM »
« Last Edit: July 08, 2015, 04:34:00 PM by Kailash »

Offline Stackoverflow

  • New Member
  • *
  • Posts: 11
  • iTrader: +0/-0
    • View Profile
Re: Command to edit cron job on Linux server
« Reply #2 on: July 08, 2015, 04:35:33 PM »
Really useful information. I was also stuck to edit a cron job and the reference thread helped me a lot. Still learning server managed :)

hmb-willem

Re: Command to edit cron job on Linux server
« Reply #3 on: January 28, 2016, 12:54:19 PM »
Hello,

You can use any of your favorite file editor and open the root cron job file to make the needed settings

For example :

vim /var/spool/cron/root

Do not forget to restart cron services after making changes.

Thank you
Divi WordPress Theme
Tags: