Web Hosting Forum - A Web Hosting community for Webmasters


Divi WordPress Theme

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

0 Members and 1 Guest are viewing this topic.

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

  • Administrator
  • Web Hosting Master
  • *****
  • Posts: 601
  • iTrader: +153/-0
    • View Profile
Re: Command to edit cron job on Linux server
« Reply #1 on: June 01, 2015, 06:53:37 PM »

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

  • Guest
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:
 

Related Topics

  Subject / Started by Replies Last post
7 Replies
88856 Views
Last post July 21, 2010, 11:34:10 AM
by webhosting.am
0 Replies
2246 Views
Last post August 29, 2007, 02:30:44 AM
by Tech
0 Replies
2652 Views
Last post October 26, 2007, 03:12:14 PM
by Tech
1 Replies
3830 Views
Last post November 25, 2008, 10:04:22 AM
by Kevin
0 Replies
104 Views
Last post August 14, 2017, 05:20:03 PM
by WHUK