Scheduled Tasks For .aspx Files
Oct 26, 2009How to execute specific .aspx file in scheduled task in win 2003 server or how to Create Scheduled Tasks for .aspx Files?
View 14 RepliesHow to execute specific .aspx file in scheduled task in win 2003 server or how to Create Scheduled Tasks for .aspx Files?
View 14 RepliesI have created a scheduled task as per my application guide as in the attached file. When i recieve the email it says the following:
: /var/www/vhosts/testdomain.co.uk/clients/admin/cron.php: No such file or directory
i have also tried appending:
php -q
wget -O (using the http to the location to cron.php)
Nothing seems to work.
I have transfered from cpanel and this is my first scheduled task and not getting anywhere with very little information on how to do this.
Im running:
Plesk 12
Linux
after creating a new cron job, when i try to open Scheduled Tasks i get this error :Internal error: DateTime::__construct(): Failed to parse time string (2015-05-28 0.12:0:37) at position 17 ): Unexpected character
Message DateTime::__construct(): Failed to parse time string (2015-05-28 0.12:0:37) at position 17 ): Unexpected character
File Helper.php
Line 143
Type Exception
Whenever a user in my Cloudlinux powered Plesk Panel 12 tries to use the scheduled tasks, this is the error that is emailed to them...
excel: couldn't exec `/usr/local/psa/bin/chrootsh'
excel: No such file or directory
Does not matter what the task is, same error every time.
Even something as simple as wget [URL] .....
Looking at a server with Plesk 12 installed there is no root user shown in tools & settings / scheduled tasks.
Login as root and crontab -l shows root has some tasks.
On a similar server with Plesk 11.5 installed can see root user shown in tools & settings / scheduled tasks.
plesk 11.5
centos 6
We set a couple of task with domain user but the cron is not executed.
We tried 2 kind of task to run every minute
/usr/bin/php /var/www/vhosts/domain.com/httpdocs/cron.php
and
mail -s "Hello" admin@domain.com
1) Why scheduled task are not executed?
2) Where the tasks are written in filesystem from plesk ? /etc/....?
I have the following command to execute every 5 minutes this PHP file which is working correctly:
/usr/bin/wget -qq -O /dev/null http://url.com/script.php
How can I make it so only the system (scheduled task or the server itself) can access to the file to execute it. I tried placing CHMOD 700 to the PHP file but everyone is still able to access to it and executive it.
Plesk version: 11.5.30 Update #44
I've just migrated server to server but I didn't use the migration manager, I simply backed up each domain's content and restored those backups on the new server.
The issue I have run into is the scheduled tasks at the admin level (Tools & Settings > Scheduled Tasks) work but any schedule task under a domain do not. The scheduled tasks under the domains show as inactive (no green tick) and when I click to enable them, I get the following message
"Information: The scheduled task Google Product Feed Daily Scheduled Task was switched on."
If I then look at the page, even though the above message says it is, the scheduled task is still not enabled. Going into the scheduled task and switching it on there results in the same message, but it doesn't switch on.
How to rebuild all of the scheduled tasks within Plesk?
Currently Installed: v. 12.0.18
We have a VPS with Centos 5 and Plesk 12.0.18.
The CRON service is running and works correctly, the Scheduled tasks on the administration Plesk Panel (tools & Setting / Scheduled tasks / root user) works ok, but when a customer sets a new scheduled task from her domain panel, don't works.
The task is a simple WGET command.
I'm new to Parallels Panel. I use version 11.0.9. I want to backup mysql database daily. First of all, what is the best way for daily database backup in plesk. I'm trying to do this in Scheduled Tasks and I use mysqldump command although I'm not sure.
I chose the time and day first and then I switched on the task. I typed the following command to Command line.
mysqldump -uusername -ppassword databasename | gzip -9 >/httpdocs/mydatabase.sql.gz
or
mysqldump -uusername -ppassword databasename >/httpdocs/mydatabase.sql.gz
This created only a blank file. When I use this without gzip, nothing changes.
1- Is mysqldump right command for database backup?
2- Should I define full path for mysqldump, gzip and database? If so, how can I find out the full path of mysqldump, gzip and my database? Because I can't see their locations in panel.
3- I can't see any error message. There is not any log file in httpdocs folder. Where does the log file exist?
4- It is weird but should the username be "database user" or should I write "root" ?
I have my domain name and have downloaded Smart FTP to drag and drop the files of my project to the domain's public_html file. But it seems you have to have .html files instead of .aspx files or is this really the case? I did the Smart FTP tutorial but haven't been able to change the page currently displayed under my domain name.
View 1 Replies View Relatedafter upgrading from 11.5. to 12.0.18 all web Hosts which are using asp or aspx files are not working anymore.
We get following error:
HTTP-Fehler 404.17 - Not Found
ModulStaticFileModule
BenachrichtigungExecuteRequestHandler
HandlerStaticFile
Fehlercode0x80070032
Angeforderte URLhttp://www.ratg.at:80/index.asp
Physikalischer PfadC:Inetpubvhosts
atg.athttpdocsindex.asp
AnmeldemethodeAnonym
Angemeldeter BenutzerAnonym
If we try to repair the Installation with the reconfigurator "Plesk virtual Hosts Security" the program is crashing.
How can i run my "aspx.cs" files on Linux server. But by default on my Linux box, it just shows the code of the "aspx.cs" file ..
How can i make aspx.cs run on linux server..
if you go to www.home.ecarindo.com, you can see that it displays the text file, the Default.aspx, the ACTUAL text file,
I've added the line DirectoryIndex Default.aspx to the .htcaccess in my home directory in cPanel, btw.
Update: nevermind, my idiotic team member registered a Linux plan instead of a Windows plan, sorry for the disturbance.
I want to create a simple PHP script to manage cron jobs. Say I want to create a front end like a control panel.
I know, many of the WHT members are using custom coded control panels, and surely they have implemented this already.
What is the right approach to do it ?
- Using exec() function and execute commands
- Write directly to /var/spool/cron/<username>
I see I can only create a single backup task in plesk, server self repository or ftp repository.
My idea is duplicate backups inside and outside of my vps, I mean, I want to create a backup task in my vps and in my own ftp server.
It is possible?
which type of CPU would be better for a web server that will run Windows, PHP, ColdFusion, mail, DNS, and IIS. Would a dual core CPU with a higher clock speed do better than a quad core CPU with lower clock speed? For instance, would a dual core 3 Ghz processor do better than a quad core at 2.4Ghz?
View 6 Replies View Relatedi got mod suexec / phpsuexec installed on the server recently. if i click on view cpu/memory/mysql usage in WHM i can see this in the first row:
<username><domain>3.170.110.1
Top Process%CPU 145/usr/bin/php
Top Process%CPU 100/usr/bin/php
Top Process%CPU 81.7/usr/bin/php
now this info is pretty useless. ok, php is evidently bursting to pretty damned high cpu levels. BUT, what are the actual FILES causing this load?
I have setup Backup Manager to backup Files and Configurations every week for every subscription. This worked really good however we are now considering changing this to daily basis.
As the free space on server will decrease. I was wondering i there is any way with cronjobs how to remove the backup older than 24 weeks. How to make such an cronjob script?
If possible i also would like to know where the Backup Manager physically stores its backups?
I just heard this story on NPR yesterday discussing cloud computing, how you can use external computers to do super-computer sized tasks without having the hardware in house yourself.
If we host colocated servers, how feasible is it to get our servers into that game?
Is it possible to create a script that will automatically download an entire website via FTP and then once the script has got an entire site, the next time it runs it only downloads the newer version of files?
View 4 Replies View RelatedScheduled task is not running day to day.
Its replicating in dot net control panal by the option use advance we stastics
I have a client that is running backup exec. They have 2 scheduled jobs in the system. One of them runs, and one does not.
It is skipping over the job. If you watch the timer for the backups, it counts down, 2 mins, 1 min. Then jumps to 60 mins. No errors or anything reported in the logs.
Again, the other backup job runs perfectly fine and a manual job runs as well.
Is it possible to schedule consecutive shell commands to be run at a given time or every certain period (like every hour)?
This is important for me as I want to schedule to run certain program and then input the following commands afterwards to do and complete the task, all automatically within the specified schedule.
One example would be connecting to an FTP. First you'd need to input the ftp command to run the ftp program, then following that, input another commands consecutively within that session (the ftp program) to do and complete the task.
I'm running KDE on CentOs4 btw.
Is it even possible to do this on cron jobs?
I am running Plesk 12 on CentOS 7 64bit. I have set up the server backup instead of the website backup as I assume that will backup all server settings, as well as the website? I am running Plesk Web Admin Edition.
I have the backup set to run and dump into Personal FTP, but it does not run. If I run the backup manually, everything works great, but the scheduled backups don't work.
Is there a way to run an additional task after the scheduled backup has completed?I want to copy the backup off-site. I can't use FTP, otherwise I'd use the built-in 'Personal FTP Repository' feature. (See Rsync, Amazon S3, Rackspace cloud files, etc)
I could just create a new scheduled task, but the backup takes an unpredictable amount of time, and the tasks need to run sequentially. Also, the 2nd task should only run if the backup succeeds.
I could disable the backups in the control panel and create a new scheduled task that does both the backup and the additional task. But then the functionality of the control panel's Backup Manager page is lost.
Sometimes I get this error:
Domain: mydomain.com
Plesk entry point: https://myserver.local:8443/
Following error is occurred during scheduled backup process:
[Errno 17] File exists: '/usr/local/psa/PMM/logs/backup-2014-06-18-23-30-05-556'
but in the backup.log and in the pmmcli.log I don't found any error.
What does it mean?