Post4VPS Forum | Free VPS Provider
like cronjob - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: Geek World (https://post4vps.com/Forum-Geek-World)
+--- Forum: Software (https://post4vps.com/Forum-Software)
+--- Thread: like cronjob (/Thread-like-cronjob)



like cronjob - hamed - 02-05-2018

Hello to all post4vps users

I wanted an application like cronjob software. I can not install cronjob on my VPS Sad Is there software like cronjob software?


RE: like cronjob - Dynamo - 02-05-2018

May we know your VPS Operating System?
It would be helpful to help you further.(Please provide full info)


RE: like cronjob - tiwil - 02-05-2018

Then I googled something, and I found that cron job is basically installed from your OS (CMIIW).
If you're using Ubuntu(or Debian, I guess): https://askubuntu.com/questions/2368/how-do-i-set-up-a-cron-job
Then, if you're using CentOS: https://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-autotasks.html

Sorry, I can't explain this, because I don't really use it XD. So, I can only give you reference for this.


RE: like cronjob - hamed - 02-06-2018

@Dynamo
vps window 2012
I can not install any version of cronjob on this windows
@tiwil
no problem bro


RE: like cronjob - tiwil - 02-06-2018

Meh, I'm so sorry. I guess you're using Linux but you're using Windows.

I got this:
Quote:The windows equivalent to a cron job is a scheduled task.
An example:

Code:
schtasks /create /tn calculate /tr calc /sc weekly /d MON /st 06:05 /ru "System"

Creates the task calculate, which starts the calculator(calc) every monday at 6:05 (should you ever need that.)

All available commands can be found here: http://technet.microsoft.com/en-us/library/cc772785%28WS.10%29.aspx
https://stackoverflow.com/questions/132971/what-is-the-windows-version-of-cron


RE: like cronjob - hamed - 02-07-2018

(02-06-2018, 10:33 PM)tiwil Wrote: Meh, I'm so sorry. I guess you're using Linux but you're using Windows.

I got this:
https://stackoverflow.com/questions/132971/what-is-the-windows-version-of-cron

Where do I enter these codes? Inside the .bat file?
I'm really confused. Please explain me completely


RE: like cronjob - Conan - 02-08-2018

(02-07-2018, 10:42 PM)hamed Wrote: Where do I enter these codes? Inside the .bat file?
I'm really confused. Please explain me completely

You run it in CMD/PowerShell.

Another workaround would be using nodejs with node-schedule with child_process.exec(). But that's a very hacky way.


RE: like cronjob - hamed - 02-08-2018

(02-08-2018, 05:10 PM)Conan Wrote: You run it in CMD/PowerShell.

Another workaround would be using nodejs with node-schedule with child_process.exec(). But that's a very hacky way.

Is it an order to restart the server every 2 days and run the .bat file automatically?


RE: like cronjob - Khadeer143 - 02-10-2018

Buy them instead of using crack versions bro ,paid version r better then crack