Difference between revisions of "CRON task setup on VPS"

From TITAN Wiki
Jump to: navigation, search
m
m
 
Line 14: Line 14:
 
*# set ''''Run whether user is logged on or not'''<nowiki/>'  
 
*# set ''''Run whether user is logged on or not'''<nowiki/>'  
 
*# check ''''Run with highest privileges'''<nowiki/>'
 
*# check ''''Run with highest privileges'''<nowiki/>'
* In '''Triggers Tab'''
+
* In '''Task Scheduler Library''' get into TITAN_CRON properties and '''Triggers Tab'''
 
*# edit your '''One time''' Trigger  
 
*# edit your '''One time''' Trigger  
 
*# in '''Advanced settings''' check '''Repeat that task every''' and set it to '''5 minutes''' and for duration of '''Indefinitely'''
 
*# in '''Advanced settings''' check '''Repeat that task every''' and set it to '''5 minutes''' and for duration of '''Indefinitely'''

Latest revision as of 16:27, 13 June 2019

Task Scheduler Library
Advenced configuration
  • Run Task Scheduler
  • Create New Basic Task
  • While configuring set:
    1. Name - TITAN_CRON
    2. Trigger - One time
    3. Trigger Time - 5 minutes from now
    4. Action - Start a Program
    5. Paste into Program/script command below modified by provided in installation CRON handler link:
powershell -ExecutionPolicy unrestricted -Command "(New-Object Net.WebClient).DownloadString(\"Paste_CRON_Link_Here\")"
  • In Task Scheduler Library get into TITAN_CRON properties and General Tab
    1. set 'Run whether user is logged on or not'
    2. check 'Run with highest privileges'
  • In Task Scheduler Library get into TITAN_CRON properties and Triggers Tab
    1. edit your One time Trigger
    2. in Advanced settings check Repeat that task every and set it to 5 minutes and for duration of Indefinitely
  • Select TITAN_CRON task and Run, refresh after 20 seconds.

In 'Last Run Result' of TITAN_CRON should be message "The operation completed successfully. (0x0)".

After that you will be able to pass CRON checker and proceed installation process.