How to set cronjob setting?

Description of your first forum.
Post Reply
charless
Posts: 14
Joined: Mon Dec 29, 2014 10:36 am

How to set cronjob setting?

Post by charless » Wed Dec 09, 2015 5:21 pm

Hello Everybody,

How to set cronjob setting in dedicated server?

thanks

Natalie
Posts: 10
Joined: Tue Jan 13, 2015 3:07 pm

Re: How to set cronjob setting?

Post by Natalie » Thu Sep 22, 2016 6:53 pm

Hello,


Just logged in to the SSH terminal for your dedicated server, the crontab command allows viewing or editing of the file from where your cronjobs will run.

crontab -e - Run this command to edit your crontab file, or create one if it does not already exist.

crontab -l - Run this command to display your current crontab file.

Isabella
Posts: 10
Joined: Tue Jan 13, 2015 3:02 pm

Re: How to set cronjob setting?

Post by Isabella » Mon Oct 25, 2021 10:19 am

Creating a custom cron job by hand
1. SSH onto your server as the Shell user you want to use to create the cron job.
2. You will then be prompted to select an editor with which to view this file. #6 makes use of nano, which is the simplest choice.
3. A blank crontab file appears on the screen. Fill in the blanks with the code for your cron job.
4. Save the document.

evanisaac982
Posts: 9
Joined: Thu Jan 22, 2015 4:40 pm

Re: How to set cronjob setting?

Post by evanisaac982 » Sat Dec 04, 2021 5:29 am

In Plesk for Linux, navigate to Settings > Scheduled Tasks in the General Group to schedule your cron job. Choose the system user account for whom the task will be performed (usually the domain ftp user). Select "Schedule New Task" from the drop-down menu. Set a time for your command to run.

Post Reply
cron