Hi, I found two pages that describe how to check and see if a CronJob with script is working, without waiting for the exact time and date for the cronJob to execute. Are these methods valid methods, or is there a better method to use, so I can check right away ?
Methods:
(SiteA) (SiteB)

Recommended Answers

All 3 Replies

Typically, I just execute the code manually that the cron job I am going to create will run.

Typically, I just execute the code manually that the cron job I am going to create will run.

This is exactly what I also doin these cases.

PHP scripts that expose your server login and pass should be placed in /root not /public_html, right ? For security reasons.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.