Cron Job always dissapear after being created

I made a php script that will send SMS through gateway automatically every specified time. The problem is, each time i make a cron job and press add cron, it will dissapear. I’m aware of the rule that if the execution of cron didn’t finish in 5 seconds, the cron will be deleted. I’m sure that my script only take less than 5 second to finish, so why my cron always be deleted?

Sorry for my broken english.

What I know is this is prohibited on infinityfree free hosting.

So there’s no possible way to run php script automatically?

Maybe because your php script is example of not allowed script.

1 Like

Do you have a link to documentation that list all prohibited script?



Scripts on the site must be designed to produce web-based content, and not to use the server as an application server. Using the server to generate large volumes of email from a database is an example of activity that is not allowed. Scripts should not attempt to manipulate the timeouts on servers. These are set at the present values to ensure the reliability of the server. Sites that reset these do so because they are resource intensive, and adversely affect server performance and are therefore not allowed. Scripts that are designed to provide proxy services, anonymous or otherwise, are not allowed.

The primary purpose of any script must be to produce a web page. Scripts that send a single email based upon user entered information, or update a database are acceptable. Scripts that send bulk email or perform processor intensive database processes are not allowed. All outgoing mail is monitored and filtered and must be sent to or from a InfinityFree-hosted domain.

Sites must not contain scripts that attempt to access privileged server resources, or other sites on the same server

Examples of not allowed script and website types include (but are not limited to):

  • Pornographic/adult content
  • Proxy scripts
  • Chat scripts
  • Bitcoin / cryptocurrency faucet sites
  • File sharing / file storage scripts
  • Autolike scripts
  • Hacking scripts / PHP shell scripts
  • Phishing
  • Mass mail scripts
  • Website scraping/crawling/downloading scripts
  • Torrents
  • Warez
  • Cracked/pirated content of any kind

You can run a php script automatically but as long as it is allowed or not prohibited

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.