How To Set Cronjob On Facebook Like Only Bot
On our script, we have added a folder named cron on the files. On the folder, you can see 3 PHP files.
Two cron files and one config file. If you read our article about making the website, then you probably know that config.php is the database configuration file.
You need to set a cronjob for the other two files.
First of all, go to cronjob.org. Cronjob.org is a free web-based cronjob providing website.
If you don’t have an account there, you need to sign up on the website.
It will lead you to the registration page. Simply register on the website.
After registration, you need to log in to the website. You will be redirected to the dashboard.
Now, go to the cronjobs section.
There you can see all available and disabled cronjobs. If you are new to the system, click on the create cronjob button.
Name your cronjob and enter the path to the file. If you are using our script, you need to add path as domain.com/cron/BotEx.php.
Save the interval as 1 minute.
After doing all these things, simply save the cronjob.
We have one more file to set a cronjob. I am talking about the Botike.php file that we added in the cron folder. You need to set a cron job for that file too in the same method that we did above.
After setting up the cronjob, your website will start to work. Simply install your access token there and site back.
If your configurations are correct, you will get success notification on the website.
We hope you found this tutorial helpful and enjoyed the read. If you did, please share our article with your friends and help them and us.