Jump to content

Recommended Posts

Well I am a php coder and I am trying to make an Text-Based Game. Every 15 minutes every user should get +5 energy, every midnight they should be healed, and many other things that need to be done on daily, hourly, minutly, weekly bases. I found out that on my host there are Cron Jobs, that will execute a comand. Sadly for me it says that "You need to have a good knowledge of Linux commands before you can use cron jobs effectively" but I have no ideas on Linux Commands. Is it posible that through this Cron Jobs using Linux Commands execute a .php file? In this file it will contain the MySql query that shall be run, depending on the time. If it is possible, can someone tell me how? Thanks.
Link to comment
https://forums.phpfreaks.com/topic/16167-linux-commands-i-have-no-idea/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.