I'm trying to schedule the jobs in PHP but I didn't find any way to do that. I tried to use PHPJobScheduler but I couldn't do that. Plase help me do that.
Asked
Active
Viewed 54 times
0
-
Are you using any php framework? – kapilpatwa93 Oct 28 '16 at 06:16
-
No, I'm using Core PHP Only – vishgarg Oct 28 '16 at 07:17
-
You should learn more about what is CRON Job and what it is used for. (refer : http://www.unixgeeks.org/security/newbie/unix/cron-1.html) – kapilpatwa93 Oct 28 '16 at 08:20
1 Answers
0
$ crontab -e
Then edit your cronjobs. For example, you add new job like this:
* * * * * /usr/bin/php /path/do/script.php
then your php jobs be work.

Deep
- 2,472
- 2
- 15
- 25
-
Thanks Deep, But how will I create jobs from php? I need to create different kinds of reminders. – vishgarg Oct 28 '16 at 07:18
-
@vishgarg http://stackoverflow.com/questions/18737407/how-to-create-cron-job-using-php – Deep Oct 28 '16 at 07:21