Go Back   FlashFXP Forums > >

Closed Thread
 
Thread Tools Display Modes
Old 10-08-2011, 10:27 PM   #1
xcentric
Junior Member
 
Join Date: Oct 2009
Posts: 3
Default FlashFXP Task Scheduler Improvement

So I am experimenting with the shedule feature.

By the way, this is a REALLY nice option to have.
Especially having the log summary emailed to you.
This is usually a secondary process with a batch file.

As it stands it can satisfy most users needs.
Allow me to explain.

The schedule in my case is dependent on another process completing such as a backup executed by a batch file.
After the backup is done... then ftp the files offsite.

Now sometimes the backup takes longer or shorter so the backup may not be finished when flashfxp goes off from the schedule. This is a parallel approach and can cause problems.

A better way is to serialize the processes.
I decided to copy the command created by flashfxp in the windows task scheduler. Then I dumped the task from the windows task scheduler.
Now the task does not show up in flashfxp anynore but the command I copied was put into a backup batch file and works perfectly including the summary email.

A side effect though is that you can no longer edit the "Once Configured & Hidden Task Properties" for email/log options even though it still exists and is functional under the hood.

I think there should be an option to unlink the task from the schedule.
This would allow the task to be executed manually via command line and get the benefit of the summary email while still having the option to link it to the windows task scheduler.

A possible workaround would be to leave the task in windows and change the action to point to the batch file that contains the backup command and the flashfxp generated command.
Maybe then I would still be able to at least edit the task properties for email/log options inside flashfxp. Or as I just discovered you can just disable the scheduled task in windows then execute with a command line anyway.

Is this making sense or is there another way I have not seen?

Regards

Last edited by xcentric; 10-08-2011 at 10:53 PM.
xcentric is offline  
Old 10-12-2011, 11:41 AM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

I think in your situation the best solution would be to simply disable the task, this would allow you to run it manually via your batch file using the command line, you can disable the task directly within FlashFXP via the Task Properties dialog, uncheck "Task enabled" option located in the bottom right of the window and click the Save button.

I'm really not sure if there is a better way to do this.
bigstar is offline  
Closed Thread

Tags
backup, command, flashfxp, ftp, task


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:28 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)