• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

cronjob/scheduled task syntax, please help

H

hepmepeas

Guest
hi, slightly new to windows servers, need to create a cronjob, only to find windows doesn't have cronjobs but rather "scheduled tasks". i've looked all over the internet and can't seem to find a specific answer for this, but would someone please tell me exactly what text to place in the plesk panel's "path to executable file" and "argument" fields in order to replicate this simple cronjob:

mv ./httpdocs/domain.com/file.html ./httpdocs/domain.com/renamedfile.html


thank you in advance to whomever is nice enough to help
 
Last edited by a moderator:
thanks for responding, can you tell me specifically what text to put in plesk panel's "path to executable file" and "argument" fields of the task scheduler to replicate the cronjob "mv ./httpdocs/domain.com/file.html ./httpdocs/domain.com/renamedfile.html"?
 
on windows the path to the file appears to be "C:/Inetpub/vhosts/domain.com/httpdocs/file.html", but don't know if that matters and of course can't find any help to determine.

please someone help, exact text for the fields please.
 
Use full paths for files. For example

move C:\directory1\directory2\file1.html C:\directory1\directory2\file2.html
 
Use full paths for files. For example

move C:\directory1\directory2\file1.html C:\directory1\directory2\file2.html

does that line go in the "path to executable file" field or the "arguments" field or what?

and what is the "full path" on a windows server "C:\Inetpub\vhosts\domain.com\httpdocs\file.html"?

because i've already tried things like this and nothing happens, it just says "task was launched successfully", yet nothing happens. numerous different permutations predicated on pure guesswork, same result over and over and over: nothing happens.

i'll ask again: what is the specific line(s) of text necessary to replicate the cronjob in the first post and what field(s) do i put it in within the plesk 11 panel task schedule interface? i don't know how many ways to keep asking the same question.
 
please please help. anyone. maybe this is such a simple question that those who can answer it are simply ignoring it?
 
guess i'm forced to pay $75 to plesk support just to get someone to answer to this. unbelievable.
 
Have you tried needed command in Windows command line? Did it work as expected? Just put working command to field.
 
Back
Top