I am developing component for Joomla and I do not know how to make cron. I can not use linux commands because it is complicated for users. Thanks.
closed as too broad by mickmackusa♦, Lodder♦ Sep 26 '18 at 14:23
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
I understand from your question, that want to run a scheduled task on your Joomla component, but you don't want to use a cron job by the operating system, because the user of your component would have to set it up.
Unfortunately it is no possible to start scheduled tasks from within Joomla, because Joomla is not running all the time. The server just executes the script, once a user issues a request with a browser.
All you can do within Joomla is to attach the execution of some code to a request by a user (a Joomla plugin might be suitable) and remember that by storing the info in the file system or the database, to prevent executing it on every request by a user. In this case you have no influence on the time of the execution though. This might be a problem if you need the task to be executed hourly, because you might not have requests by night. It might also be a problem on low traffic sites.
But I think you can expect the user of your component to be able to set up a cron or the hire someone to do it. There are many other Joomla components like JomSocial that also require cron jobs.