• Welcome to Web Hosting Community Forum for Webmasters - Web hosting Forum.
 

Recommended Providers

Fully Managed WordPress Hosting
lc_banner_leadgen_3
Fully Managed WordPress Hosting

WordPress Theme

Divi WordPress Theme
WPZOOM

Recent Topics

Forum Membership

Forum Membership

Command to edit cron job on Linux server

Started by Rick, May 01, 2015, 04:47:48 PM

Rick

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

Kailash


Stackoverflow

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

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