• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How can add a scheduler in Plesk 7.5 which can access a .aspx web page every 10 minut

M

mycwcgr

Guest
How can add a scheduler in Plesk 7.5 which can access a .aspx web page every 10 minutes?

My hosting panel is Plesk 7.5 for windows, I hope to access a .aspx web page every 10 minutes.

The following is introduction of Managing Scheduler, you can see details at http://www.dailyrazor.com/esupport/plesk/client_admin/ch03s77.html

--------------------------------------------------------------------------------------------------------------------------------------
To schedule a new task, follow these steps:

1. Click the Add New Task icon. You will be taken to the scheduled task properties page.

2. To activate the task, leave the Enabled checkbox selected. If you wish to temporarily disable the task, clear this checkbox. The disabled tasks are not executed.

3. Provide a short description for the task, if desired. This description will be displayed in the list of all scheduled tasks and will serve as a link to the page that allows editing the task’s properties. If no description is specified, the command executed within the task will be displayed.

4. To enable scheduler to send the notification messages to a specified e-mail address, select the required value in the Scheduler notification drop-down box, and specify the e-mail address (if required). Any information output by the task will be automatically sent to the specified address.

5. In the Path to executable file or script box, specify the absolute path to executable file or script. This file may be:

a generic windows application,

a PHP script (identified by the opening <? or <?PHP tags in the first line),

a PHP, Perl or Python script (identified by the first line #!script interpreter name),

a file with any of the following extensions: .BAT or .CMD (batch files), .VBS, .VBE, .JS, .JSE (visual basic or java scripts), .PL, .PM (perl scripts), .PY, .PYC (python scripts), .PHP, .PHP3 (php scripts).


The path to file may include the environment variables related to a user, on behalf of which the application or script is executed, therefore the users may specify the strings like %homedrive%%homepath%\application.name to run the applications or scripts residing in their home folders.

For example, c:\Inetpub\vhosts\domain.com is a user's home folder. If user specifies %homedrive%%homepath%\httpdocs\application.exe as the application to be executed, the application.exe file located in c:\Inetpub\vhosts\domain.com\httpdocs\ will be run.

-----------------------------------------------------------------------------------------------------------------------------------------


It's seem that Plesk 7.5 can't access a .aspx webpage directly, but I know noting about PHP, if I hope to access http://www.hothelpdesk.com/CatchEmail.aspx every 10 minutes, could you tell me how can write a PHP script which can redirect to http://www.hothelpdesk.com/CatchEmail.aspx ?


BTW, I can't find any introduction about "Path to executable file or script box" in your manual, from your documnet plesk-8.1-win-clients-guide.pdf, I only see the following, could you tell me where I can find details about "Path to executable file or script box"

-----------------------------------------------------------------------------------------------------------------------------------------
To schedule a task for a domain:
1 On your Home page, select the required domain from the list.
2 Click Scheduled Tasks in the Hosting group.
3 Click Add New Task.
4 Input a name for your task in the Description field.
5 In Scheduler notification, specify whether the scheduler should notify you
when it runs this task. The following options are available:
 Disabled - do not nofity you.
 Send to the default e-mail - send the notification to your default e-mail address.
 Send to the e-mail I specify - send the nofitication to the e-mail specified in the
corresponding field. After selecting this option, you need to input the required email
in the field on the right.
6 Specify which command to run. Type it into the Path to executable file input box. If you need to run the command with certain options, type them in the Arguments field.
7 Select the appropriate priority in the Task priority field. Task priority can be set to Low, Normal or High.
8 Specify when to run your command by selecting the appropriate checkboxes in the Hours, Days of Month, Months or Days of Week fields.
9 Click OK to schedule the task or click Run Now to schedule the task and immediately run it.

-----------------------------------------------------------------------------------------------------------------------------------------

Many thanks!
 
Back
Top