Scheduling Tasks with Plesk Shared Hosting

Our Plesk shared hosting accounts let you schedule tasks, which are similar to Cron jobs on Linux-based accounts.

  1. Log in to your GoDaddy account.
  2. Click Web Hosting.
  3. Next to the account you want to use, click Manage.
  4. Click Scheduled Tasks.
  5. Click the System user you want to use.
  6. Click Schedule New Task.
  7. Complete the details for the task, and then click OK.

The executable and argument paths differ for ASPX and PHP files.

Note: None of these files need to be stored on your local computer. They are all stored on your hosting account.

ASPX Files

Type Path
Executable C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Argument -c "(new-object system.net.webclient).downloadstring('http://[domain.tld]\[path]\[file_name]')"

PHP Files

Type Path
Executable C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP54\php-cgi.exe
Argument G:\PleskVhosts\[domain.tld]\[path]\[file_name]

The examples we provide use the following variables:

Variable Definition
[domain.tld] The hosting account's primary domain
[path] The path to the file
[filename] The name of the file you want to call

Was dit artikel nuttig?
Hartelijk dank voor je feedback. Gebruik het supporttelefoonnummer of de bovenstaande chatoptie als je een vertegenwoordiger van de afdeling Klantenondersteuning wilt spreken.
Fijn dat we konden helpen! Kunnen we nog iets voor je doen?
Dat spijt ons. Vertel ons wat je verwarrend vond of waarom je probleem niet is opgelost via de geboden oplossing.