source: trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Task/Dummy.pm @ 1888

Last change on this file since 1888 was 1155, checked in by nanardon, 12 years ago

oops, missing ';'

File size: 852 bytes
Line 
1package LATMOS::Accounts::Task::Dummy;
2
3use strict;
4use warnings;
5use base qw(LATMOS::Accounts::Task);
6use LATMOS::Accounts::Log;
7
8=head1 NAME
9
10LATMOS::Accounts::Task::Dummy - A "do nothing" task for testing purpose
11
12=head1 DESCRIPTION
13
14When setup in L<la-sync-manager> this task simulate an activity by waiting 2
15seconds and just exit successfully.
16
17=cut
18
19sub run {
20    la_log LA_DEBUG, "Running dummy";
21    sleep 2;
22}
23
241;
25
26=head1 SEE ALSO
27
28L<LATMOS::Accounts::Task>
29
30=head1 AUTHOR
31
32Olivier Thauvin, E<lt>olivier.thauvin@latmos.ipsl.frE<gt>
33
34=head1 COPYRIGHT AND LICENSE
35
36Copyright (C) 2008, 2009, 2010, 2011, 2012 CNRS SA/CETP/LATMOS
37
38This library is free software; you can redistribute it and/or modify
39it under the same terms as Perl itself, either Perl version 5.10.0 or,
40at your option, any later version of Perl 5 you may have available.
41
42=cut
Note: See TracBrowser for help on using the repository browser.