josue2902
By:
josue2902

I need to know how to insert a cron job on my server.

October 12, 2016 47 views
DigitalOcean Ubuntu 16.04

Hello!
I need to know how to insert a cron job on my server.

This cron job is to enter a URL of a plugin, as shown below:

URL => Cron Info

Twice Per Hour Cron URL: wget -O /dev /null http://www.comoganhardinheironet.com/wp-content/plugins/WPSocialTrafficPro/auto.php

Waiting for answers

At. Josué Mota

1 Answer

To edit your crontab issue the following command:

$: crontab -e

Then add the following line to your crontab:

*/30 * * * * wget -O /dev /null http://www.comoganhardinheironet.com/wp-content/plugins/WPSocialTrafficPro/auto.php

And save the file and your crontab will be updated and it will execute once every 30 minutes.

Have another answer? Share your knowledge.