Scheduling Tasks with Plesk Shared Hosting
Print this Article
Last Updated:
June 25, 2015 10:21 AM
Our Plesk shared hosting accounts let you schedule tasks, which are similar to Cron jobs on Linux-based accounts.
- Log in to your Account Manager.
- Click Web Hosting.
- Next to the account you want to use, click Manage.
- Click Scheduled Tasks.
- Click the System user you want to use.
- Click Schedule New Task.
- Complete the details for the task, and then click OK.
The executable and argument paths differ for ASPX and PHP files.
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 |