Suppose I want to occasionally convert a few gif files into wbmp files so I can view them on my cell phone. I'm not sure if the conversion would occur in time or the request might time out. Perhaps I might want to display a message and then have some background task do the conversion. I saw that capistrano can do that or there are other means, but will it work on this server, that is a background task, daemon etc ?
Can I use capistrano or other means to run periodic task ?
- Larz
- Posts: 1
- Starts: 4
- Wiki Edits: 0
- Location: Boston metro west
Suppose I want to occasionally convert a few gif files into wbmp files so I can view them on my cell phone. I'm not sure if the conversion would occur in time or the request might time out. Perhaps I might want to display a message and then have some background task do the conversion. I saw that capistrano can do that or there are other means, but will it work on this server, that is a background task, daemon etc ?
- Vinayan
- Posts: 156
- Starts: 0
- Wiki Edits: 1
In order to convert "gif files into wbmp files" using capistrano you need to write the corresponding conversion codes in the Capfile. You can also restart daemons by given commands inside the Capfile. If you are using Imagemagick then you can use the mogrify command to convert "gif files into wbmp files".
===
mogrify -format wbmp <file.gif>|<folder/*.gif>
===
===
mogrify -format wbmp <file.gif>|<folder/*.gif>
===